-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
28 lines (28 loc) · 1.07 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"compilerOptions": {
/* Basic Options */
"module": "esnext", /* 导出的模块类型 */
"target": "es5", /* 编译后的js版本 */
"noImplicitAny": true, /* 在表达式和声明上有隐含的 any类型时报错 */
"removeComments": false, /* 编辑后的文件去掉注释 */
"declaration": true, /* 生成 d.ts 文件 */
"outDir": "./dist", /* 编译后文件的目录 */
"declarationDir": "./dist/types", /* 编译后 d.ts 的目录 */
"strictNullChecks": true, /* 声明一个变量时,不会自动包含 null 或 undefined */
"experimentalDecorators": true, /* 开启装饰器 */
"emitDecoratorMetadata": true, /* 开启元数据 */
"sourceMap": false,
"jsx": "preserve",
"lib": ["dom", "es5", "es6", "es2016", "esnext"],
"baseUrl": ".",
"paths": {
}
},
"include": [
"src/*",
],
"exclude": [
"node_modules",
"dist"
]
}