|
1 | 1 | {
|
2 | 2 | "compilerOptions": {
|
3 | 3 | /* Basic Options */
|
4 |
| - "target": "es5" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */, |
5 |
| - "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */, |
6 |
| - // "lib": [], /* Specify library files to be included in the compilation. */ |
7 |
| - "declaration": true /* Generates corresponding '.d.ts' file. */, |
8 |
| - "declarationMap": true /* Generates a sourcemap for each corresponding '.d.ts' file. */, |
9 |
| - // "sourceMap": true, /* Generates corresponding '.map' file. */ |
10 |
| - "outDir": "lib" /* Redirect output structure to the directory. */, |
11 |
| - // "importHelpers": true, /* Import emit helpers from 'tslib'. */ |
| 4 | + "target": "es5", |
| 5 | + "module": "commonjs", |
| 6 | + "lib": ["ES2015.Core"], |
| 7 | + "declaration": true, |
| 8 | + "declarationMap": true, |
| 9 | + "sourceMap": true, |
| 10 | + "outDir": "lib", |
12 | 11 |
|
13 | 12 | /* Strict Type-Checking Options */
|
14 |
| - "strict": true /* Enable all strict type-checking options. */, |
| 13 | + "strict": true, |
15 | 14 |
|
16 | 15 | /* Additional Checks */
|
17 |
| - "noUnusedLocals": true /* Report errors on unused locals. */, |
18 |
| - "noUnusedParameters": true /* Report errors on unused parameters. */, |
19 |
| - "noImplicitReturns": true /* Report error when not all code paths in function return a value. */, |
20 |
| - "noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */, |
| 16 | + "forceConsistentCasingInFileNames": true, |
| 17 | + "importsNotUsedAsValues": "error", |
| 18 | + "isolatedModules": true, |
| 19 | + "noFallthroughCasesInSwitch": true, |
| 20 | + "noImplicitOverride": true, |
| 21 | + "noImplicitReturns": true, |
| 22 | + "noPropertyAccessFromIndexSignature": true, |
| 23 | + "noUnusedLocals": true, |
| 24 | + "noUnusedParameters": true, |
21 | 25 |
|
22 | 26 | /* Module Resolution Options */
|
23 |
| - "baseUrl": "./" /* Base directory to resolve non-absolute module names. */, |
24 |
| - "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */, |
25 |
| - "resolveJsonModule": true, |
26 |
| - |
27 |
| - "paths": { |
28 |
| - "*": ["src/declarations/*", "*"] |
29 |
| - } |
| 27 | + "esModuleInterop": true, |
| 28 | + "moduleResolution": "node", |
| 29 | + "resolveJsonModule": true |
30 | 30 | },
|
31 | 31 | "include": ["src"],
|
32 | 32 | "exclude": [
|
|
0 commit comments