-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
44 lines (43 loc) · 1.45 KB
/
tsconfig.json
File metadata and controls
44 lines (43 loc) · 1.45 KB
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": {
"baseUrl": ".",
"outDir": "build/dist",
"module": "esnext",
"target": "es5",
"lib": ["es6", "dom"],
"sourceMap": true,
"allowJs": true,
"jsx": "react",
"moduleResolution": "node",
"rootDir": "./",
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"noImplicitThis": true,
// "noImplicitAny": true,
"importHelpers": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,
// "noUnusedLocals": true, // 为了编译成功,临时关闭
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"experimentalDecorators": true,
"paths": {
"@Client/*": ["./src/client/*"],
"@Components-UI/*": ["./src/client/app/components-UI/*"],
"@Components-BU/*": ["./src/client/app/components-BU/*"],
"@Tools/*": ["./src/client/app/tools/*"],
"@Assets/*": ["./src/client/app/assets/*"],
"@Src/*": ["./src/client/*"],
"@Config/*": ["./src/client/config/*"],
"@Api/*": ["./src/client/app/api/*"],
"@Store/*":["./src/client/app/store/*"],
"@Hooks/*":["./src/client/app/hooks/*"],
"@Typings/*":["./src/typings/*"],
"Server#/*":["./src/server/*"],
"Build#/*":["./build/*"],
}
},
"exclude": [
],
}