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. 11 "outDir": "./dist", // Redirect output structure to the directory. 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} 28