• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "compilerOptions": {
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/commonjs" /* Redirect output structure to the directory. */,
11        // "importHelpers": true,                 /* Import emit helpers from 'tslib'. */
12
13        /* Strict Type-Checking Options */
14        "strict": true /* Enable all strict type-checking options. */,
15
16        /* 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. */,
21
22        /* 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    "include": ["src"],
28    "exclude": [
29        "**/*.spec.ts",
30        "**/__fixtures__/*",
31        "**/__tests__/*",
32        "**/__snapshots__/*"
33    ]
34}
35