加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tsconfig.json 1.00 KB
一键复制 编辑 原始数据 按行查看 历史
Greper 提交于 2023-11-21 01:51 . fix: 修复一些错误的类型定义
{
"compilerOptions": {
// 这样就可以对 `this` 上的数据属性进行更严格的推断`
"noImplicitAny": true,
"allowJs": true,
"target": "esnext",
"module": "esnext",
"strict": true,
"jsx": "preserve",
"importHelpers": true,
"moduleResolution": "node",
"experimentalDecorators": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strictNullChecks" :false,
"sourceMap": true,
"baseUrl": ".",
"outDir": "./dist/ts",
"types": [
"vite/client",
"mocha",
"chai",
"node",
"unplugin-vue-define-options/macros-global"
],
"paths": {
"/@/*": ["src/*"],
"/src/*": ["src/*"],
"/#/*": ["types/*"]
},
"lib": [
"esnext",
"dom",
"dom.iterable",
"scripthost"
]
},
"include": [
"src/**/*.ts",
"src/**/*.tsx",
"src/**/*.vue",
"tests/**/*.ts",
"tests/**/*.tsx"
],
"exclude": [
"node_modules"
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化