-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.base.json
More file actions
40 lines (37 loc) · 991 Bytes
/
tsconfig.base.json
File metadata and controls
40 lines (37 loc) · 991 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
31
32
33
34
35
36
37
38
39
40
{
"compilerOptions": {
/* 🎯 基础编译配置 */
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "Bundler",
"resolveJsonModule": true,
"esModuleInterop": true,
"isolatedModules": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
/* 🛡️ 严格类型检查配置 */
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"noImplicitReturns": false,
"noFallthroughCasesInSwitch": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noPropertyAccessFromIndexSignature": false,
/* 📚 库和类型支持配置 */
"lib": [
"ES2022",
"DOM",
"DOM.Iterable",
"WebWorker"
],
/* 🚀 现代构建工具优化配置 */
"allowJs": true,
"checkJs": false,
"incremental": true
}
}