forked from AntmJS/vantui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.base.json
More file actions
30 lines (30 loc) · 918 Bytes
/
tsconfig.base.json
File metadata and controls
30 lines (30 loc) · 918 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
29
30
{
"compilerOptions": {
"target": "ES2017",
"module": "ES2022",
"strict": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
// 默认false,是否检测定义了但是没使用的变量
"noUnusedLocals": true,
// 用于检查是否有在函数体中没有使用的参数
"noUnusedParameters": true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": false,
"noImplicitReturns": true,
"noImplicitAny": false,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"moduleResolution": "Node",
"removeComments": true,
"skipLibCheck": true,
"allowSyntheticDefaultImports": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowJs": true,
"jsx": "react-jsx"
},
"compileOnSave": false
}