-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.json
More file actions
20 lines (20 loc) · 1.91 KB
/
tsconfig.json
File metadata and controls
20 lines (20 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"compilerOptions": {
"target": "ES2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
"module": "ESNext", /* Specify what module code is generated. */
"moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
"outDir": "./dist", /* Specify an output folder for all emitted files. */
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
"strict": true, /* Enable all strict type-checking options. */
"skipLibCheck": true, /* Skip type checking all .d.ts files. */
"noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
"allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
"checkJs": false, /* Enable error reporting in type-checked JavaScript files. */
"resolveJsonModule": true, /* Enable importing .json files. */
"lib": ["DOM", "ES2016"], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
"jsx": "react" /* Support JSX in .tsx files: 'react', 'preserve', 'react-native', etc. */
},
"include": ["src/**/*", "tests/**/*"], /* Specifies an array of filenames or patterns to include in the program. */
"exclude": ["node_modules", "dist"] /* Specifies an array of filenames or patterns that should be skipped when resolving 'include'. */
}