Skip to content

Commit

Permalink
feat: begin typescript support
Browse files Browse the repository at this point in the history
  • Loading branch information
dblythy committed Jan 21, 2025
1 parent 59340ce commit c098c1b
Show file tree
Hide file tree
Showing 7 changed files with 418 additions and 239 deletions.
7 changes: 3 additions & 4 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"plugins": [
"@babel/plugin-transform-flow-strip-types",
"@babel/plugin-proposal-object-rest-spread"
],
"presets": [
"@babel/preset-typescript",
["@babel/preset-env", {
"targets": {
"node": "14",
},
"exclude": ["proposal-dynamic-import"]
"node": "18"
}
}]
],
"sourceMaps": "inline"
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ node_modules

# Babel.js
lib/
types/

# cache folder
.cache
Expand Down
Loading

0 comments on commit c098c1b

Please sign in to comment.