-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
63 lines (56 loc) · 1.39 KB
/
Copy pathtsconfig.json
File metadata and controls
63 lines (56 loc) · 1.39 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"compilerOptions": {
/* 语言与环境 */
"target": "ESNext",
"lib": ["ESNext"],
"module": "ESNext",
"moduleResolution": "bundler",
"moduleDetection": "force",
/* Bun 类型支持 */
"types": ["bun-types"],
/* 严格模式——开启所有 TypeScript 严格检查 */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"exactOptionalPropertyTypes": false,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": false,
/* 输出控制 */
"noEmit": true,
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
/* 解析与路径 */
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
},
"rootDir": ".",
"outDir": "./dist",
/* 互操作 */
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"resolveJsonModule": true,
/* 源码映射与调试 */
"sourceMap": true,
"declaration": true,
"declarationMap": true,
/* 高级 */
"skipLibCheck": true,
"useDefineForClassFields": true,
"preserveConstEnums": true
},
"include": [
"src/**/*.ts",
"plugin/**/*.ts",
"test/**/*.ts"
],
"exclude": [
"node_modules",
"dist",
".loop-opencode"
]
}