加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tsconfig.json 1.01 KB
一键复制 编辑 原始数据 按行查看 历史
zhangsheng 提交于 2021-03-15 14:16 . init 初始化
{
"compilerOptions": {
"noEmit": true,
"target": "es6",
"module": "esnext",
"noImplicitAny": false,
"sourceMap": true,
"preserveConstEnums": true,
"moduleResolution": "node",
"experimentalDecorators": true,
"jsx": "preserve",
"lib": ["dom","es5","es6","es7","es2017","es2019"],
"allowSyntheticDefaultImports": true,
"typeRoots": ["node_modules/@types"],
"baseUrl": ".",
"paths": {
"*": [
"*"
],
"app/*": ["app/*"],
"utils/*": ["app/utils/*"],
"assets/*": ["app/assets/*"],
"components/*": [ "app/components/*" ],
"containers/*": ["app/containers/*"],
"libs/*": ["libs/*"]
},
// https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#keyof-now-includes-string-number-and-symbol-keys
"keyofStringsOnly": true,
"skipLibCheck": true
// "strict": true,
// "strictFunctionTypes": false
// "noUnusedLocals": true,
// "noUnusedParameters": true
},
"exclude": [
"node_modules"
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化