Skip to content

Commit cd64b53

Browse files
committedJan 19, 2022
chore: 写注释
1 parent 7de33dc commit cd64b53

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed
 

‎tsconfig.json

+8-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66
// 严格模式, 强烈建议开启
77
"strict": true,
88
// 支持别名导入:
9-
// import * as React from "react"
9+
//
10+
// import React from "react"
11+
// 等价于
12+
// import * as React from "react"
13+
// 虽然react没有默认导出
1014
"esModuleInterop": true,
1115
// 目标js的版本
1216
"target": "ES6",
@@ -41,9 +45,9 @@
4145
"any-event": ["packages/any-event/src"],
4246
"any-touch": ["packages/any-touch/src"],
4347
"@any-touch/*": ["packages/*/src"],
44-
"@testUtils":["testUtils"]
48+
"@testUtils": ["testUtils"]
4549
}
4650
},
4751
// 入口文件
48-
"include": ["testUtils","packages/*/src", "packages/*/types", "packages/*/__tests__"]
49-
}
52+
"include": ["testUtils", "packages/*/src", "packages/*/types", "packages/*/__tests__"]
53+
}

0 commit comments

Comments
 (0)
Please sign in to comment.