0 Star 2 Fork 0

嗷大张/learn-rxjs6

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
tsconfig.json 1.82 KB
一键复制 编辑 原始数据 按行查看 历史
AodaZhang 提交于 2020-12-27 18:23 . 初始化仓库
{
"exclude": ["node_modules"],
"compilerOptions": {
/* 配置文档:https://aka.ms/tsconfig.json */
/* 1.基础配置 */
"target": "es5", // 编译js的ECMAScript版本:'ES3'(默认)、'ES5', 'ES2015'、'ES2016'、'ES2017'、'ES2018'、'ES2019'、'ES2020'、'ESNEXT'
"module": "commonjs", // 编译js的模块化语法方案:'none'、'commonjs'、'amd'、'system'、'umd'、'es2015'、'es2020'、'ESNext'
"declaration": true, // 是否使用.d.ts定义文件
"sourceMap": false, // 是否生成编译的source map
"incremental": true, // 是否开启增量编译
"allowJs": false, // 是否对js也执行编译
"checkJs": false, // 是否对js也执行语法检测
/* 2.严格类型检查 */
"strict": true, // 是否开启js严格模式
"noImplicitAny": true, // 是否必须显式设置any
"strictNullChecks": true, // 是否允许非null类型变量赋值为null
/* 3.附加类型检查 */
"noUnusedLocals": true, // 是否检查未使用的局部变量
"noUnusedParameters": true, // 是否检查未使用的函数参数
/* 4.模块引用检查 */
"esModuleInterop": true,
"baseUrl": "./src", // 当前项目根路径
"paths": {
"@/": ["./*"],
"@/assets/*": ["./assets/*"],
"@/utils/*": ["./utils/*"],
// "@/components/*": ["components/*"],
// "@/config/*": ["config/*"],
// "@/pages/*": ["pages/*"],
}, // 当前配置路径别名
/* 5.命名空间配置 */
/* 6.Source Map配置 */
/* 7.实验配置 */
"experimentalDecorators": true, // 是否开启装饰器语法
"emitDecoratorMetadata": true, // 是否开启装饰器元信息
/* 8.高级配置 */
"skipLibCheck": true, // 是否不检查lib语法
"forceConsistentCasingInFileNames": true // 是否文件名大小写一致
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/aodazhang/learn-rxjs6.git
git@gitee.com:aodazhang/learn-rxjs6.git
aodazhang
learn-rxjs6
learn-rxjs6
master

搜索帮助