-
Notifications
You must be signed in to change notification settings - Fork 2
/
tsconfig.json
42 lines (42 loc) · 1.7 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"compileOnSave": false,
"compilerOptions": {
"allowJs": false,
// "strict": true,
"allowSyntheticDefaultImports": true,
// "declaration": true,
"esModuleInterop": true,
"experimentalDecorators": true,
"downlevelIteration": true,
// https://github.com/angular/angular-cli/issues/13886#issuecomment-471927518
"importHelpers": true,
"moduleResolution": "node",
"noFallthroughCasesInSwitch": true,
"noUnusedLocals": true,
// "sourceMap": true,
// "esModuleInterop": true,
"baseUrl": "./",
/* Basic Options */
"module": "commonjs",
// "module": "esnext",
"lib": ["es2020", "es2015", "dom", "es5", "scripthost"],
"emitDecoratorMetadata": true,
"typeRoots": ["node_modules/@types"],
// "lib": ["es2018", "dom"],
"target": "ES5" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */,
"declaration": true /* Generates corresponding '.d.ts' file. */,
"sourceMap": false /* Generates corresponding '.map' file. */,
"outDir": "lib" /* Redirect output structure to the directory. */,
"rootDir": "src" /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */,
"removeComments": false /* Do not emit comments to output. */,
/* Strict Type-Checking Options */
"strict": true /* Enable all strict type-checking options. */,
"noImplicitAny": true /* Raise error on expressions and declarations with an implied 'any' type. */,
"paths": {
"*": ["src/entrypoints/*"],
"tslib": ["node_modules/tslib/tslib.d.ts"]
}
},
"include": ["src/**/*"],
"exclude": ["node_modules", "src/__tests__/**/**/*.ts"]
}