Skip to content

v0.282.0

Compare
Choose a tag to compare
@facebook-github-bot facebook-github-bot released this 16 Sep 20:52
· 50 commits to main since this release

Likely to cause new Flow errors:

  • Multiple object property invariant subtyping errors on the same object will be combined into one error. Some error locations might be moved.

Notable bug fixes:

  • Fixes crash happening on exported functions with signatures of the form <X>(x: X, y: typeof x): T

IDE:

  • We now provide a best effort quickfix for some invariant subtyping errors.

Library Definitions:

  • Array.find can now return a more precise value if the predicate is inferred to be a type guard. example