24 Star 194 Fork 76

novel / Novel-vue

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
tsconfig.json 1.61 KB
一键复制 编辑 原始数据 按行查看 历史
novel 提交于 2023-07-31 14:37 . 优化
{
"compilerOptions": {
//指定ECMAScript目标版本 "ES3"(默认)
"target": "esnext",
//指定生成哪个模块系统代码
"module": "esnext",
//启用所有严格类型检查选项。
//启用 --strict相当于启用 --noImplicitAny, --noImplicitThis, --alwaysStrict, --strictNullChecks和 --strictFunctionTypes和--strictPropertyInitialization。
"strict": true,
"declaration": true,
//在 .tsx文件里支持JSX: "React" "Preserve"。查看 JSX。
"jsx": "preserve",
//从 tslib 导入辅助工具函数(比如 __extends, __rest等)
"importHelpers": false,
"moduleResolution": "node",
//启用实验性的ES装饰器
"experimentalDecorators": true,
"esModuleInterop": true,
//允许从没有设置默认导出的模块中默认导入。这并不影响代码的输出,仅为了类型检查。
"allowSyntheticDefaultImports": true,
//生成相应的 .map文件
"sourceMap": true,
//解析非相对模块名的基准目录
"baseUrl": ".",
//在表达式和声明上有隐含的 any类型时报错
"noImplicitAny": false,
"types": [
"node",
"webpack-env"
],
//模块名到基于 baseUrl的路径映射的列表
"paths": {
"@/*": [
"src/*"
]
},
//编译过程中需要引入的库文件的列表
"lib": [
"esnext",
"dom",
"dom.iterable",
"scripthost"
]
},
"include": [
"src/**/*.ts",
"src/**/*.js",
"src/**/*.tsx",
"src/**/*.vue",
"tests/**/*.ts",
"tests/**/*.tsx"
],
"exclude": [
"node_modules"
]
}
JavaScript
1
https://gitee.com/cnovel/Novel-vue.git
git@gitee.com:cnovel/Novel-vue.git
cnovel
Novel-vue
Novel-vue
master

搜索帮助