Files
HuLa-Admin/tsconfig.json

52 lines
1.1 KiB
JSON

{
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"module": "ESNext",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"lib": ["ES2015", "ESNext", "DOM"],
"skipLibCheck": true,
"types": [
"vite/client",
"xterm-addon-fit",
"node",
"vitest/globals",
"@types/lodash-es"
],
//使用装饰器
"experimentalDecorators": true,
/* Bundler mode */
"moduleResolution": "Node",
"allowImportingTsExtensions": true,
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "preserve",
"jsxImportSource": "vue",
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"baseUrl": ".",
"paths": {
"~/*": ["./*"],
"@/*": ["./src/*"]
}
},
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"src/**/*.tsx",
"src/**/*.vue",
"tests/*.ts"
],
"exclude": ["node_modules", "dist"]
}