feat: Add TypeScript support (#9550)
This commit is contained in:
6
.babelrc
6
.babelrc
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"plugins": [
|
||||
"@babel/plugin-transform-flow-strip-types",
|
||||
"@babel/plugin-proposal-object-rest-spread"
|
||||
"@babel/plugin-transform-flow-strip-types"
|
||||
],
|
||||
"presets": [
|
||||
"@babel/preset-typescript",
|
||||
["@babel/preset-env", {
|
||||
"targets": {
|
||||
"node": "14",
|
||||
"node": "18"
|
||||
},
|
||||
"exclude": ["proposal-dynamic-import"]
|
||||
}]
|
||||
|
||||
Reference in New Issue
Block a user