forked from Domain/terminus-quick-cmds
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathtsconfig.json
More file actions
28 lines (28 loc) · 740 Bytes
/
tsconfig.json
File metadata and controls
28 lines (28 loc) · 740 Bytes
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
{
"compilerOptions": {
// "strict": true,
"forceConsistentCasingInFileNames": true,
"baseUrl": "src",
"module": "commonjs",
"target": "es2016",
// 删除重复的 declaration 配置项,保留后面的 declaration: true 即可
"noImplicitAny": false,
"removeComments": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"sourceMap": true,
// 删除重复的 noUnusedParameters 配置项
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noUnusedParameters": true,
"noUnusedLocals": true,
"declaration": true,
"declarationDir": "dist",
"lib": [
"dom",
"es2015",
"es7"
]
},
"exclude": ["node_modules", "dist"]
}