Babel enable allowDeclareFields setting

This commit is contained in:
Michael Telatynski
2023-03-07 18:04:18 +00:00
parent 5ae88eb30b
commit a550341663
+1 -1
View File
@@ -12,7 +12,7 @@ module.exports = {
], ],
}, },
], ],
"@babel/preset-typescript", ["@babel/preset-typescript", { allowDeclareFields: true }],
"@babel/preset-react", "@babel/preset-react",
], ],
plugins: [ plugins: [