加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
tsconfig.json 934 Bytes
一键复制 编辑 原始数据 按行查看 历史
郝先瑞 提交于 2022-11-06 01:32 . refactor: 项目重构
{
"compilerOptions": {
"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'. */
},
"include": ["src/**/*.ts", "src/**/*.vue", "types/**/*.d.ts"],
"exclude": ["node_modules", "dist", "**/*.js"]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化