Skip to content

Commit c098c1b

Browse files
committed
feat: begin typescript support
1 parent 59340ce commit c098c1b

File tree

7 files changed

+418
-239
lines changed

7 files changed

+418
-239
lines changed

.babelrc

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
{
22
"plugins": [
33
"@babel/plugin-transform-flow-strip-types",
4-
"@babel/plugin-proposal-object-rest-spread"
54
],
65
"presets": [
6+
"@babel/preset-typescript",
77
["@babel/preset-env", {
88
"targets": {
9-
"node": "14",
10-
},
11-
"exclude": ["proposal-dynamic-import"]
9+
"node": "18"
10+
}
1211
}]
1312
],
1413
"sourceMaps": "inline"

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ node_modules
4646

4747
# Babel.js
4848
lib/
49+
types/
4950

5051
# cache folder
5152
.cache

0 commit comments

Comments
 (0)