-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
46 lines (46 loc) · 937 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
45
46
{
"compilerOptions": {
"target": "esnext",
"useDefineForClassFields": true,
"module": "esnext",
"moduleResolution": "node",
"strict": true,
"jsx": "preserve",
"sourceMap": true,
"resolveJsonModule": true,
"isolatedModules": true,
"esModuleInterop": true,
"lib": [
"ESNext",
"DOM"
],
"skipLibCheck": true,
"noEmit": true,
//
"baseUrl": ".",
"paths": {
"@/*": [
"src/*"
]
},
// 如果您使用 Volar,请在 tsconfig.json 中通过 compilerOptions.type 指定全局组件类型。
"types": [
"@types/node",
"element-plus/global",
"unplugin-vue-macros/macros-global"
],
"allowSyntheticDefaultImports": true
},
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.tsx",
"src/**/*.vue",
"src/*.js"
],
"references": [
{
"path": "./tsconfig.node.json"
}
]
}