Remove outdated options for babel "flow" plugin (#16802)

This commit is contained in:
fisker Cheung authored and GitHub committed 2024-10-29 21:29:33 +08:00
1 parent 9066ba83a2
commit 891dd331ed
1 file changed
+1 -5
+1 -5
View File
@@ -221,11 +221,7 @@ const babelTSExpression = createBabelParser({
});
const babelFlow = createBabelParser({
optionsCombinations: [
appendPlugins([
"jsx",
["flow", { all: true, enums: true }],
"flowComments",
]),
appendPlugins(["jsx", ["flow", { all: true }], "flowComments"]),
],
});
const babelEstree = createBabelParser({