Files
drf-Vue-website/front-end-src/tsconfig.json
T
2018-05-21 01:28:37 +08:00

39 lines
1.2 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"compilerOptions": {
// 语法编译为es5
"target": "es5",
"jsx": "preserve",
// 模块采用import语法且不作转换(利用webpack 2+的tree-shake
"module": "es2015",
// 这可以对'this'上的数据属性进行更严格的推断
"strict": true,
// 用NPM模式加载
"moduleResolution": "node",
// 对于没有Export的库进行兼容
"allowSyntheticDefaultImports": true,
// 开启修饰器模式
"experimentalDecorators": true,
// 启用设计类型元数据(用于反射)
"emitDecoratorMetadata": true,
// 在表达式和声明上有隐含的any类型时报错
"noImplicitAny": false,
// 不是函数的所有返回路径都有返回值时报错。
"noImplicitReturns": true,
// 移除注释
"removeComments": true,
"strictPropertyInitialization": false,
// 识别基本的系统类库
"lib": [
"dom",
"es5",
"es2015"
]
},
"include": [
"src/**/*"
],
"exclude": [
"node_modules"
]
}