1 Star 0 Fork 120

马博/OpenDataV

forked from 星星在线/OpenDataV 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
tsconfig.json 1.38 KB
一键复制 编辑 原始数据 按行查看 历史
独行侠 提交于 2022-08-23 16:10 . feat(): 添加了mock适配
{
"compilerOptions": {
"target": "esnext",
"useDefineForClassFields": true,
"module": "esnext",
"moduleResolution": "node",
"strict": true,
"jsx": "preserve",
"sourceMap": true,
"isolatedModules": false,
"resolveJsonModule": true,
"esModuleInterop": true,
"lib": ["esnext", "dom"],
"allowJs": true,
"types": ["vite/client","naive-ui/volar"],
"checkJs": true,
"outDir": "./dist",
"skipLibCheck": true,
"allowSyntheticDefaultImports": true,
"noImplicitAny": false, // 允许隐式的any类型(某些第三方库有隐式的any类型)
"strictNullChecks": true, // 不允许把null、undefined赋值给其他类型的变量
"strictPropertyInitialization": true, // 类的实例属性必须初始化
"noImplicitThis": true, // 不允许this有隐式的any类型
"noUnusedLocals": false, // 检查只声明、未使用的局部变量(只提示不报错)
"noUnusedParameters": true, // 检查未使用的函数参数(只提示不报错)
"removeComments": true, // 移除代码中的注释
"typeRoots":["node_modules/@types", "src/types"], // 将这些文件夹下的包自动导入 TypeScript 声明
"baseUrl": ".",
"paths": {
"@/*": ["src/*"]
}
},
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue", "mock/*"],
"exclude": ["**/node_modules/**", "dist", "**/*.js"]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/aemabo/OpenDataV.git
git@gitee.com:aemabo/OpenDataV.git
aemabo
OpenDataV
OpenDataV
main

搜索帮助