• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    "removeComments": false,               // Do not emit comments to output.
12    "importHelpers": true,                 // Import emit helpers from 'tslib'.
13    "downlevelIteration": true,            // Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'.
14    "strict": true,                        // Enable all strict type-checking options.
15    "noImplicitAny": true,                 // Raise error on expressions and declarations with an implied 'any' type.
16    "strictNullChecks": true,              // Enable strict null checks.
17    "strictFunctionTypes": true,           // Enable strict checking of function types.
18    "strictPropertyInitialization": true,  // Enable strict checking of property initialization in classes.
19    "noImplicitThis": true,                // Raise error on 'this' expressions with an implied 'any' type.
20    "alwaysStrict": true,                  // Parse in strict mode and emit "use strict" for each source file.
21    "noUnusedLocals": true,                // Report errors on unused locals.
22    "noUnusedParameters": true,            // Report errors on unused parameters.
23    "noImplicitReturns": true,             // Report error when not all code paths in function return a value.
24    "noFallthroughCasesInSwitch": true,    // Report errors for fallthrough cases in switch statement.
25  }
26}
27