代码拉取完成,页面将自动刷新
{
"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 // 是否文件名大小写一致
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。