加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tsconfig.json 1.24 KB
一键复制 编辑 原始数据 按行查看 历史
ly525 提交于 2019-08-02 11:00 . fix #6
{
"compilerOptions": {
"skipLibCheck": true,
"declaration": true,
"declarationMap": true,
"noImplicitAny": true,
"noEmitOnError": false,
"noImplicitThis": true,
"noUnusedLocals": true,
"strictNullChecks": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"downlevelIteration": true,
"module": "commonjs",
"moduleResolution": "node",
"target": "es5",
"jsx": "react",
"lib": [
"es6",
"dom"
],
"sourceMap": true,
/**
* #6: fix Intellisense and go to definition for absolute path
* here you can learn more those links:
* 1. https://code.visualstudio.com/docs/languages/jsconfig
* 2. https://github.com/vuejs/vetur/blob/master/docs/setup.md#path-mapping
* 3. https://github.com/vuejs/vetur/issues/423#issuecomment-340235722
*/
// see more: https://github.com/vuejs/vetur/blob/master/docs/setup.md#path-mapping
// This must be specified if "paths" is set
"baseUrl": ".",
// Relative to "baseUrl"
"paths": {
"src/*": ["./src/*"],
}
},
"plugins": [{
"name": "tslint-language-service"
}],
"include": [
"src/components/code/**/*"
],
"exclude": [
"node_modules",
"**/*.spec.ts"
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化