Prepare repository for gradual flow->ts migration (#12317)
Co-authored-by: Bogdan Savluk <savluk.bogdan@gmail.com>
This commit is contained in:
@@ -103,6 +103,10 @@ module.exports = function (api) {
|
||||
.filter(Boolean)
|
||||
.map(normalize),
|
||||
presets: [
|
||||
[
|
||||
"@babel/preset-typescript",
|
||||
{ onlyRemoveTypeImports: true, allowDeclareFields: true },
|
||||
],
|
||||
["@babel/env", envOpts],
|
||||
["@babel/preset-flow", { allowDeclareFields: true }],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user