-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
42 lines (42 loc) · 967 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
39
40
41
42
{
"compileOnSave": true,
"compilerOptions": {
"target": "es2017",
"module": "commonjs",
"strict": true,
"noImplicitAny": false,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"charset": "utf8",
"allowJs": true,
"pretty": true,
"noEmitOnError": false,
"noUnusedLocals": true,
"noUnusedParameters": true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"strictPropertyInitialization": false,
"noFallthroughCasesInSwitch": true,
"skipLibCheck": true,
"skipDefaultLibCheck": true,
"inlineSourceMap": true,
"importHelpers": true,
"baseUrl": ".", // 一定要设置,项目的路径
"paths": {
// 这里配置相应的别名
"@/*": [
"./app/*"
]
}
},
"exclude": [
"app/public",
"app/views",
"node_modules*",
"subModules*",
// "typings/**/*",
"database/**/*",
"config/**/*",
"test*"
]
}