tdesign-vue-next-starter/tsconfig.json
悠静萝莉 f9f9e91438
feat: 将现有代码迁移至TS严格模式 - 禁止any类型 (#519)
* feat: 新增type enum类型

* feat: 开启禁止any类型规则

* types: 优化通知标签类型

* types: 补充标签页移除方法类型

* types: 补充请求工具类型

* types: 补充store相关类型

* types: 补充路由相关类型

* types: 补充钩子类型

* types: 补充页面组件类型

* types: 补充布局类型

* fix: 修复编译问题
2023-05-24 10:40:06 +08:00

32 lines
673 B
JSON

{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"moduleResolution": "node",
"jsx": "preserve",
"sourceMap": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"skipLibCheck": true,
"allowSyntheticDefaultImports": true,
"lib": ["esnext", "dom"],
"types": ["vite/client"],
"noEmit": true,
"baseUrl": "./",
"paths": {
"@/*": ["src/*"]
},
"noImplicitAny": true
},
"include": [
"**/*.ts",
"src/**/*.d.ts",
"src/types/**/*.d.ts",
"src/**/*.ts",
"src/**/*.tsx",
"src/**/*.vue",
"node_modules/tdesign-vue-next/global.d.ts"
],
"compileOnSave": false
}