-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtsconfig.base.json
44 lines (44 loc) · 1.13 KB
/
tsconfig.base.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
43
44
{
"compilerOptions": {
// Project
"declaration": true,
"declarationMap": true,
"lib": [
"ESNext",
"DOM"
],
"baseUrl": ".",
"removeComments": false,
"sourceMap": true,
"target": "ES2015",
"module": "CommonJS",
// Module resolution
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"moduleResolution": "Node",
// Linting
"alwaysStrict": true,
"strict": true /* includes: strictNullChecks, strictBindCallApply, strictFunctionTypes, strictPropertyInitialization, noImplicitAny, noImplicitThis */,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
// Experimental
"experimentalDecorators": true,
// Advanced
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"assumeChangesOnlyAffectDirectDependencies": true,
"forceConsistentCasingInFileNames": true,
"noErrorTruncation": true,
"pretty": true,
"resolveJsonModule": true,
"useDefineForClassFields": true
},
"exclude": [
"node_modules",
"dist",
"lib",
".*/**"
]
}