1 { 2 "include": [ "src/" ], 3 "exclude": [ 4 "./node_modules/", 5 "./src/gen/" 6 ], 7 "compilerOptions": { 8 "lib": [ 9 "dom", // Need to be explicitly mentioned now since we're overriding default included libs. 10 "es2018", // Need this to use Object.values. 11 ], 12 "target": "es6", 13 "module": "commonjs", 14 "moduleResolution": "node", 15 // Lints and checks. 16 "allowJs": true, 17 "declaration": false, // Generates corresponding '.d.ts' file. 18 "sourceMap": true, // Generates corresponding '.map' file. 19 "outDir": "./dist", // Redirect output structure to the directory. 20 "removeComments": false, // Do not emit comments to output. 21 "importHelpers": true, // Import emit helpers from 'tslib'. 22 "downlevelIteration": true, // Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. 23 "strict": true, // Enable all strict type-checking options. 24 "noImplicitAny": true, // Raise error on expressions and declarations with an implied 'any' type. 25 "strictNullChecks": true, // Enable strict null checks. 26 "strictFunctionTypes": true, // Enable strict checking of function types. 27 "strictPropertyInitialization": true, // Enable strict checking of property initialization in classes. 28 "noImplicitThis": true, // Raise error on 'this' expressions with an implied 'any' type. 29 "alwaysStrict": true, // Parse in strict mode and emit "use strict" for each source file. 30 "noUnusedLocals": true, // Report errors on unused locals. 31 "noUnusedParameters": true, // Report errors on unused parameters. 32 "noImplicitReturns": true, // Report error when not all code paths in function return a value. 33 "noFallthroughCasesInSwitch": true, // Report errors for fallthrough cases in switch statement. 34 } 35 } 36