2026-03-25 10:02:19 +08:00
|
|
|
|
{
|
|
|
|
|
|
"compilerOptions": {
|
2026-03-27 14:48:42 +08:00
|
|
|
|
"noUnusedLocals": true,
|
|
|
|
|
|
"noUnusedParameters": true,
|
2026-03-25 10:02:19 +08:00
|
|
|
|
"target": "esnext",
|
|
|
|
|
|
"useDefineForClassFields": true,
|
|
|
|
|
|
"module": "esnext",
|
|
|
|
|
|
"moduleResolution": "node",
|
|
|
|
|
|
"strict": true,
|
|
|
|
|
|
"jsx": "preserve",
|
|
|
|
|
|
"sourceMap": true,
|
|
|
|
|
|
"resolveJsonModule": true,
|
|
|
|
|
|
"esModuleInterop": true,
|
|
|
|
|
|
"lib": ["esnext", "dom"],
|
|
|
|
|
|
"baseUrl": ".",
|
|
|
|
|
|
"allowJs": true,
|
|
|
|
|
|
"paths": {
|
|
|
|
|
|
"@/*": ["src/*"]
|
|
|
|
|
|
},
|
|
|
|
|
|
"skipLibCheck": true /* Skip type checking all .d.ts files. */,
|
|
|
|
|
|
"allowSyntheticDefaultImports": true /* 允许默认导入 */,
|
|
|
|
|
|
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
|
|
|
|
|
|
"types": ["element-plus/global"],
|
|
|
|
|
|
"typeRoots": [
|
|
|
|
|
|
"./node_modules/@types/",
|
|
|
|
|
|
"./types"
|
|
|
|
|
|
] /* 指定多个文件夹,这些文件夹的作用类似于 './node_modules/@types'. */
|
|
|
|
|
|
},
|
2026-03-27 14:48:42 +08:00
|
|
|
|
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
|
2026-03-25 10:02:19 +08:00
|
|
|
|
"exclude": ["node_modules", "dist", "**/*.js"]
|
|
|
|
|
|
}
|