github facebook/flow v0.220.0

latest releases: v0.239.0, v0.238.3, v0.238.2...
8 months ago

Likely to cause new Flow errors:

  • Fixed an issue where access of optional tuple element was not considered | void
  • We rewrote how we generate types for library definitions, which makes the validation of libdef files stricter. You might see more errors as a result of the stricter validation. e.g. all unbound names in libdef files will cause an error, instead of the first reference of the unbound name.

Notable bug fixes:

  • Fixed a bug in "refactor to react component" code actions. Previously, it would incorrectly replace all jsx children with the newly refactored JSX elements
  • Fixed signature help when the function called is typed as an alias (e.g. try-Flow)
  • Fixed some spurious errors in generic calls when the solution involves unions (e.g. try-Flow)
  • Fixed a bug that caused weird errors when you try to use indexed access in export positions. example

Don't miss a new flow release

NewReleases is sending notifications on new releases.