Skip to content

v0.237.0

Compare
Choose a tag to compare
@facebook-github-bot facebook-github-bot released this 29 May 05:50
· 1204 commits to main since this release

Likely to cause new Flow errors:

  • Flow will no longer break up a union argument when calling an overloaded function. The code in this try-Flow will now be an error.

New Features:

  • Under jest_integration=true, Flow will now error on some jest mocking APIs (e.g. jest.mock('./my-module')) if the module doesn't exist.

Notable bug fixes:

  • Fixed spread of empty array when calculating tuple elements, e.g. [...[]] as [] now works.
  • Fixed inferred type of React.ElementConfig/Props when passed in a component syntax component (e.g. try-Flow)