Primiano Tucci | 3552aaf | 2020-01-14 20:20:52 +0000 | [diff] [blame] | 1 | { |
| 2 | "compilerOptions": { |
| 3 | "baseUrl": ".", |
| 4 | "target": "es6", |
| 5 | "module": "commonjs", |
| 6 | "moduleResolution": "node", |
| 7 | // Lints and checks. |
| 8 | "allowJs": true, |
| 9 | "declaration": false, // Generates corresponding '.d.ts' file. |
| 10 | "sourceMap": true, // Generates corresponding '.map' file. |
Tuchila Octavian | e04cd30 | 2021-06-07 12:24:15 +0100 | [diff] [blame] | 11 | "inlineSources": true, // Adds source code to the '.map' file. |
Primiano Tucci | 3552aaf | 2020-01-14 20:20:52 +0000 | [diff] [blame] | 12 | "removeComments": false, // Do not emit comments to output. |
| 13 | "importHelpers": true, // Import emit helpers from 'tslib'. |
| 14 | "downlevelIteration": true, // Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. |
| 15 | "strict": true, // Enable all strict type-checking options. |
| 16 | "noImplicitAny": true, // Raise error on expressions and declarations with an implied 'any' type. |
| 17 | "strictNullChecks": true, // Enable strict null checks. |
| 18 | "strictFunctionTypes": true, // Enable strict checking of function types. |
| 19 | "strictPropertyInitialization": true, // Enable strict checking of property initialization in classes. |
| 20 | "noImplicitThis": true, // Raise error on 'this' expressions with an implied 'any' type. |
| 21 | "alwaysStrict": true, // Parse in strict mode and emit "use strict" for each source file. |
| 22 | "noUnusedLocals": true, // Report errors on unused locals. |
| 23 | "noUnusedParameters": true, // Report errors on unused parameters. |
| 24 | "noImplicitReturns": true, // Report error when not all code paths in function return a value. |
| 25 | "noFallthroughCasesInSwitch": true, // Report errors for fallthrough cases in switch statement. |
| 26 | } |
| 27 | } |