-
Notifications
You must be signed in to change notification settings - Fork 189
Expand file tree
/
Copy pathtsconfig.json
More file actions
42 lines (41 loc) · 1.29 KB
/
tsconfig.json
File metadata and controls
42 lines (41 loc) · 1.29 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
{
"compilerOptions": {
"composite": true, // 新增该配置
"target": "ESNext",
"jsx": "preserve",
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"useDefineForClassFields": true,
/* Path */
"baseUrl": ".",
"module": "ESNext",
/* Bundler mode */
"moduleResolution": "bundler",
"paths": {
"@configs/*": ["../../configs/*"],
"@vue-element-plus-x/utils": ["../../packages/utils/src"],
"@vue-element-plus-x/icons": ["../../packages/icons/src"],
"vue-element-plus-x": ["../../packages/vue-element-plus-x/src"],
"vue-element-plus-x/*": ["../../packages/vue-element-plus-x/src/*"]
},
"resolveJsonModule": true,
// "types": ["vitest/globals"],
// "allowImportingTsExtensions": true,
/* Linting */
"strict": true,
"strictNullChecks": true,
"noFallthroughCasesInSwitch": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noEmit": false,
"esModuleInterop": true,
"isolatedModules": true,
"skipLibCheck": true
},
"references": [
{ "path": "./tsconfig.node.json" },
{
"path": "./tsconfig.vitepress.json"
}
]
// "include": ["auto-imports.d.ts", "src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue", "**/*.config.ts"]
}