|
1 | 1 | { |
2 | 2 | "include": ["./src"], |
3 | | - "exclude": ["node_modules", "./src/**/*.spec.ts", "./test"], |
| 3 | + "exclude": ["node_modules"], |
4 | 4 | "compilerOptions": { |
| 5 | + /* Visit https://aka.ms/tsconfig.json to read more about this file */ |
| 6 | + |
5 | 7 | /* Basic Options */ |
6 | | - "target": "esnext" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */, |
7 | | - "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */, |
| 8 | + // "incremental": true, /* Enable incremental compilation */ |
| 9 | + "target": "es5" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */, |
| 10 | + "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */, |
8 | 11 | // "lib": [], /* Specify library files to be included in the compilation. */ |
9 | 12 | // "allowJs": true, /* Allow javascript files to be compiled. */ |
10 | 13 | // "checkJs": true, /* Report errors in .js files. */ |
|
16 | 19 | "outDir": "./" /* Redirect output structure to the directory. */, |
17 | 20 | // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ |
18 | 21 | // "composite": true, /* Enable project compilation */ |
| 22 | + // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */ |
19 | 23 | // "removeComments": true, /* Do not emit comments to output. */ |
20 | 24 | // "noEmit": true, /* Do not emit outputs. */ |
21 | 25 | // "importHelpers": true, /* Import emit helpers from 'tslib'. */ |
|
27 | 31 | // "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ |
28 | 32 | // "strictNullChecks": true, /* Enable strict null checks. */ |
29 | 33 | // "strictFunctionTypes": true, /* Enable strict checking of function types. */ |
| 34 | + // "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */ |
30 | 35 | // "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */ |
31 | 36 | // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */ |
32 | 37 | // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */ |
|
36 | 41 | // "noUnusedParameters": true, /* Report errors on unused parameters. */ |
37 | 42 | // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ |
38 | 43 | // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ |
| 44 | + // "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */ |
39 | 45 |
|
40 | 46 | /* Module Resolution Options */ |
41 | 47 | // "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ |
42 | 48 | // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */ |
43 | 49 | // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ |
44 | 50 | // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ |
45 | | - // "typeRoots": [], /* List of folders to include type definitions from. */ |
| 51 | + "typeRoots": [ |
| 52 | + "./node_modules/@types", |
| 53 | + "./types" |
| 54 | + ] /* List of folders to include type definitions from. */, |
46 | 55 | // "types": [], /* Type declaration files to be included in compilation. */ |
47 | | - "allowSyntheticDefaultImports": true /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */, |
48 | | - "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ |
| 56 | + // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ |
| 57 | + "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */, |
49 | 58 | // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */ |
| 59 | + // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ |
50 | 60 |
|
51 | 61 | /* Source Map Options */ |
52 | | - // "sourceRoot": "./", /* Specify the location where debugger should locate TypeScript files instead of source locations. */ |
53 | | - // "mapRoot": "./", /* Specify the location where debugger should locate map files instead of generated locations. */ |
| 62 | + // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */ |
| 63 | + // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ |
54 | 64 | // "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */ |
55 | 65 | // "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */ |
56 | 66 |
|
|
59 | 69 | // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */ |
60 | 70 |
|
61 | 71 | /* Advanced Options */ |
62 | | - // "declarationDir": "lib" /* Output directory for generated declaration files. */ |
| 72 | + "skipLibCheck": true /* Skip type checking of declaration files. */, |
| 73 | + "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ |
63 | 74 | } |
64 | 75 | } |
0 commit comments