-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
38 lines (37 loc) · 998 Bytes
/
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
{
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"importHelpers": true,
"sourceMap": true,
"esModuleInterop":true,
"declaration": true,
"declarationMap": true,
"declarationDir": "./lib/types",
"moduleResolution":"node",
"strictNullChecks":true,
"noImplicitAny":true, // 禁用隐式any
"noImplicitThis":true,// 禁用隐式this
"noUnusedLocals":true,
"noUnusedParameters":true,
"strict":true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"useUnknownInCatchVariables": true,
"noUncheckedIndexedAccess":true,
"lib": [
"esnext",
"dom",
"dom.iterable",
"scripthost"
]
},
"exclude": [
"node_modules"
]
}