|
3 | 3 | /* Visit https://aka.ms/tsconfig.json to read more about this file */
|
4 | 4 |
|
5 | 5 | /* Basic Options */
|
6 |
| - "incremental": true, /* Enable incremental compilation */ |
7 |
| - "target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */ |
8 |
| - "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */ |
9 |
| - "lib": [ |
10 |
| - "ES2015" |
11 |
| - ], /* Specify library files to be included in the compilation. */ |
| 6 | + "incremental": true, /* Enable incremental compilation */ |
| 7 | + "target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */ |
| 8 | + "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */ |
| 9 | + "lib": [ |
| 10 | + "ES2015" |
| 11 | + ], /* Specify library files to be included in the compilation. */ |
12 | 12 | // "allowJs": true, /* Allow javascript files to be compiled. */
|
13 | 13 | // "checkJs": true, /* Report errors in .js files. */
|
14 | 14 | // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', 'react', 'react-jsx' or 'react-jsxdev'. */
|
15 |
| - "declaration": true, /* Generates corresponding '.d.ts' file. */ |
16 |
| - "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */ |
17 |
| - "sourceMap": true, /* Generates corresponding '.map' file. */ |
| 15 | + "declaration": true, /* Generates corresponding '.d.ts' file. */ |
| 16 | + "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */ |
| 17 | + "sourceMap": true, /* Generates corresponding '.map' file. */ |
18 | 18 | // "outFile": "./", /* Concatenate and emit output to single file. */
|
19 |
| - "outDir": "lib", /* Redirect output structure to the directory. */ |
| 19 | + "outDir": "lib", /* Redirect output structure to the directory. */ |
20 | 20 | // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
|
21 | 21 | // "composite": true, /* Enable project compilation */
|
22 | 22 | // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
|
|
27 | 27 | // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
|
28 | 28 |
|
29 | 29 | /* Strict Type-Checking Options */
|
30 |
| - "strict": true, /* Enable all strict type-checking options. */ |
31 |
| - "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ |
| 30 | + "strict": true, /* Enable all strict type-checking options. */ |
| 31 | + "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ |
32 | 32 | // "strictNullChecks": true, /* Enable strict null checks. */
|
33 |
| - "strictFunctionTypes": true, /* Enable strict checking of function types. */ |
| 33 | + "strictFunctionTypes": true, /* Enable strict checking of function types. */ |
34 | 34 | // "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
|
35 | 35 | // "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
|
36 |
| - "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */ |
| 36 | + "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */ |
37 | 37 | // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
|
38 | 38 |
|
39 | 39 | /* Additional Checks */
|
|
52 | 52 | // "typeRoots": [], /* List of folders to include type definitions from. */
|
53 | 53 | // "types": [], /* Type declaration files to be included in compilation. */
|
54 | 54 | // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
|
55 |
| - "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ |
| 55 | + "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ |
56 | 56 | // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
|
57 | 57 | // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
|
58 | 58 |
|
|
67 | 67 | // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
|
68 | 68 |
|
69 | 69 | /* Advanced Options */
|
70 |
| - "skipLibCheck": true, /* Skip type checking of declaration files. */ |
71 |
| - "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ |
| 70 | + "skipLibCheck": true, /* Skip type checking of declaration files. */ |
| 71 | + "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ |
72 | 72 | },
|
73 | 73 | "include": [
|
74 | 74 | "src"
|
|
0 commit comments