Update flow parser to v0.307.0 (#19038)

This commit is contained in:
fisker Cheung authored and GitHub committed 2026-04-10 11:49:06 +08:00
1 parent 5638eb6966
commit b4489dc05f
4 files changed
+12 -9

No files matched your search

@@ -278,7 +278,8 @@ hook useFoo5<T>() {}
hook useFoo6(...foo) {}
hook useFoo7(...rest?: Foo) {}
// \`?\` not allowed since flow-parser@0.307.0
// hook useFoo7(...rest?: Foo) {}
hook useFoo8(foo, ...bar) {}
@@ -309,7 +310,8 @@ hook useFoo5<T>() {}
hook useFoo6(...foo) {}
hook useFoo7(...rest?: Foo) {}
// \`?\` not allowed since flow-parser@0.307.0
// hook useFoo7(...rest?: Foo) {}
hook useFoo8(foo, ...bar) {}
+2 -1
View File
@@ -10,7 +10,8 @@ hook useFoo5<T>() {}
hook useFoo6(...foo) {}
hook useFoo7(...rest?: Foo) {}
// `?` not allowed since flow-parser@0.307.0
// hook useFoo7(...rest?: Foo) {}
hook useFoo8(foo, ...bar) {}