Skip to content

[flow] Upgrade flow-bin to 0.302.0#682

Draft
everettbu wants to merge 1 commit into
mainfrom
upgrade-flow-302
Draft

[flow] Upgrade flow-bin to 0.302.0#682
everettbu wants to merge 1 commit into
mainfrom
upgrade-flow-302

Conversation

@everettbu

Copy link
Copy Markdown

Mirror of facebook/react#35998
Original author: marcoww6


Summary

  • Upgrades flow-bin from 0.279.0 to 0.302.0
  • Upgrades flow-remove-types from 2.279.0 to 2.302.0
  • Flow 0.302.0 supports extends in type parameter bounds by default (e.g., <T extends Foo>), aligning with the ongoing fbsource codemod (D95907848)

Context

PR #35996 migrates ReactNativeTypes.js to use extends syntax, but the current Flow version (0.279.0) rejects it with [ts-syntax]. This upgrade unblocks that change.

Test plan

  • CI Flow type checks pass for all renderers

Flow 0.302.0 supports `extends` in type parameter bounds by default
(e.g., `<T extends Foo>`), which aligns with the ongoing codemod in
fbsource (D95907848).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants