forked from Qymh/qymh-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
58 lines (58 loc) · 1.52 KB
/
Copy pathtsconfig.json
File metadata and controls
58 lines (58 loc) · 1.52 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"include": [
"examples/**/*.ts",
"examples/**/*.vue",
"src/**/*.ts",
"src/**/*.vue",
"packages/**/*.ts",
"packages/**/*.vue"
],
"exclude": ["node_modules"],
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["examples/*"]
},
// typeRoots option has been previously configured
"typeRoots": ["node_modules/@types"],
"strictPropertyInitialization": false,
// 以严格模式解析
"strict": true,
// 在.tsx文件里支持JSX
"jsx": "preserve",
// 使用的JSX工厂函数
"jsxFactory": "h",
// 允许从没有设置默认导出的模块中默认导入
"allowSyntheticDefaultImports": true,
// 启用装饰器
"experimentalDecorators": true,
// 允许编译javascript文件
"allowJs": true,
// 采用的模块系统
"module": "esnext",
// 编译输出目标 ES 版本
"target": "es5",
// 如何处理模块
"moduleResolution": "node",
// 在表达式和声明上有隐含的any类型时报错
"noImplicitAny": true,
"lib": ["dom", "es5", "es6", "es7", "es2015.promise"],
"sourceMap": true
},
"files": [
"typings/common.d.ts",
"typings/row.d.ts",
"typings/titleBar.d.ts",
"typings/tabBar.d.ts",
"typings/highLight.d.ts",
"typings/input.d.ts",
"typings/radio.d.ts",
"typings/table.d.ts",
"typings/overlay.d.ts",
"typings/swiper.d.ts",
"typings/photoswipe.d.ts",
"typings/mobileSelect.d.ts",
"typings/mescroll.d.ts",
"typings/jsonp.d.ts"
]
}