forked from AchoBeta/achobeta-pluto-front
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
32 lines (32 loc) · 854 Bytes
/
Copy pathtsconfig.json
File metadata and controls
32 lines (32 loc) · 854 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
{
"compilerOptions": {
"target": "ES2020",
"jsx": "preserve",
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"useDefineForClassFields": true,
"baseUrl": ".", // 设置项目根目录
"module": "ESNext",
"moduleResolution": "node", // 确保模块解析为 "node" 或 "nodenext"
"paths": {
"@/*": ["src/*"]
},
"types": ["vite/client"], // 添加 Vite 客户端类型定义
"forceConsistentCasingInFileNames": true, // 启用文件名大小写一致检查
"strict": true, // 启用严格模式
"skipLibCheck": true
},
"references": [
{
"path": "./tsconfig.node.json"
}
],
"include": [
"src/**/*.ts",
"src/**/*.js",
"src/**/*.tsx",
"src/**/*.vue",
"src/stores/countStore/index.js",
"src/auto-imports.d.ts",
"src/components.d.ts"
, "src/axios/api" ]
}