-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
44 lines (44 loc) · 929 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
43
44
{
"compilerOptions": {
"target": "esnext",
"useDefineForClassFields": true,
"allowSyntheticDefaultImports": true,
"allowJs": true,
"module": "esnext",
"moduleResolution": "node",
"strict": true,
"jsx": "preserve",
"sourceMap": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"removeComments": true,
"noUnusedLocals": false,
"importHelpers": false, // 从 tslib 导入辅助工具函数(比如 __extends, __rest等)
"lib": [
"esnext",
"dom"
],
"baseUrl": ".",
// "skipLibCheck": true,
"paths": {
"@/*": [
"./src/*"
]
},
"types": [
"vitest/globals"
]
},
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.jsx",
"src/**/*.tsx",
"build/**/*.ts",
"build/**/*.d.ts",
"auto-import/*.d.ts",
"types/**/*.d.ts",
"types/*.d.ts",
"legacy.d.ts"
]
}