github facebook/flow v0.237.0

latest releases: v0.252.0, v0.251.1, v0.251.0...
5 months ago

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)

Don't miss a new flow release

NewReleases is sending notifications on new releases.