Files
vue-desktop/tsconfig.app.json

26 lines
993 B
JSON
Raw Normal View History

2025-08-19 14:56:38 +08:00
{
"extends": "@vue/tsconfig/tsconfig.dom.json",
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
"exclude": ["src/**/__tests__/*"],
"compilerOptions": {
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
"paths": {
"@/*": ["./src/*"]
},
2025-08-26 17:04:31 +08:00
"target": "es2021",
"lib": ["es2021", "dom"],
2025-08-19 14:56:38 +08:00
"module": "ESNext",
2025-08-28 08:05:16 +08:00
"strict": true, // 严格模式检查
2025-09-15 15:33:58 +08:00
"experimentalDecorators": true, // 装饰器
2025-10-11 12:05:57 +08:00
"emitDecoratorMetadata": true, // 元数据反射
2025-09-15 15:33:58 +08:00
"useDefineForClassFields": false,
2025-08-21 16:57:42 +08:00
"strictPropertyInitialization": false, // 严格属性初始化检查
"noUnusedLocals": false, // 检查未使用的局部变量
"noUnusedParameters": false, // 检查未使用的参数
"noImplicitReturns": true, // 检查函数所有路径是否都有返回值
"noImplicitOverride": true, // 检查子类是否正确覆盖了父类方法
2025-09-10 15:44:10 +08:00
"allowSyntheticDefaultImports": true, // 允许使用默认导入
2025-08-19 14:56:38 +08:00
}
}