1 Star 2 Fork 0

Bytedance Inc./guide

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tsconfig.json 1.17 KB
一键复制 编辑 原始数据 按行查看 历史
兰雁 提交于 2021-04-29 16:56 +08:00 . feat: init guide
{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"moduleResolution": "node",
"importHelpers": true,
"jsx": "react",
"esModuleInterop": true,
"sourceMap": true,
"lib": ["esnext", "dom", "es7"],
"allowJs": false,
"baseUrl": "./",
"rootDir": "./",
"strict": true,
"paths": {
"@/*": ["src/*"],
"@@/*": ["src/.umi/*"]
},
// 允许从没有设置默认导出的模块中默认导入
"allowSyntheticDefaultImports": true,
// 包括以.json扩展名导入的模块
"resolveJsonModule": true,
// 支持装饰器新特性
"experimentalDecorators": true,
// 引入文件区分大小写
"forceConsistentCasingInFileNames": true,
// 不是函数的所有返回路径都有返回值时报错
"noImplicitReturns": true,
// 若有未使用的局部变量则抛错
"noUnusedLocals": true,
// 若有未使用的参数则抛错
"noUnusedParameters": true,
// 不生成输出文件
"noEmit": true,
"declaration": true
},
"include": ["src/**/*"],
"exclude": [
"node_modules",
"lib",
"es",
"dist",
"typings",
"**/__test__",
"test"
]
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ByteDance/guide.git
git@gitee.com:ByteDance/guide.git
ByteDance
guide
guide
main

搜索帮助