-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
36 lines (36 loc) · 898 Bytes
/
tsconfig.json
File metadata and controls
36 lines (36 loc) · 898 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
{
"extends": "@vue/tsconfig/tsconfig.json",
"compilerOptions": {
"lib": [
"ESNext",
"DOM",
"DOM.Iterable"
],
"baseUrl": ".",
"paths": {
"@/*": [
"./src/*"
]
},
"types": [
"@dcloudio/types",
"miniprogram-api-typings",
"@uni-helper/uni-types",
"@uni-helper/vite-plugin-uni-pages"
],
"sourceMap": true,
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.tsx",
"src/**/*.vue",
"*.d.ts"
]
},
"vueCompilerOptions": {
// 调整 Volar(Vue 语言服务工具)解析行为,用于为 uni-app 组件提供 TypeScript 类型
"plugins": [
"@uni-helper/uni-types/volar-plugin"
]
}
}