Babel enable allowDeclareFields setting
This commit is contained in:
parent
5ae88eb30b
commit
a550341663
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ module.exports = {
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"@babel/preset-typescript",
|
["@babel/preset-typescript", { allowDeclareFields: true }],
|
||||||
"@babel/preset-react",
|
"@babel/preset-react",
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
|
|
Loading…
Add table
Reference in a new issue