部署开发环境 / deploy-dev (push) Successful in 3m0s
- 将 auto-imports.d.ts 和 components.d.ts 移至 src/types/import 目录 - 修改 tsconfig.app.json 配置以排除旧的类型定义文件路径 - 在 vite.config.ts 中更新类型定义文件输出路径配置 - 重新生成组件和自动导入的类型声明文件
25 lines
633 B
JSON
25 lines
633 B
JSON
{
|
|
"extends": "@vue/tsconfig/tsconfig.dom.json",
|
|
"include": [
|
|
"env.d.ts",
|
|
"src/**/*",
|
|
"src/**/*.vue",
|
|
],
|
|
"exclude": [
|
|
"src/**/__tests__/*"
|
|
],
|
|
"compilerOptions": {
|
|
// Extra safety for array and object lookups, but may have false positives.
|
|
"noUncheckedIndexedAccess": true,
|
|
// Path mapping for cleaner imports.
|
|
"paths": {
|
|
"@/*": [
|
|
"./src/*"
|
|
]
|
|
},
|
|
// `vue-tsc --build` produces a .tsbuildinfo file for incremental type-checking.
|
|
// Specified here to keep it out of the root directory.
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo"
|
|
}
|
|
}
|