Skip to content

v0.145.0

Choose a tag to compare

@facebook-github-bot facebook-github-bot released this 18 Feb 00:26
· 11490 commits to main since this release

Likely to cause new Flow errors:

  • Correctly typecheck destructuring defaults in function params. e.g. function i({name = 1}: {| name?: string |}) {} was previously not an error.

New Features:

  • New options added to flow_parser.js to support configuring comment output. comments enables comment attachment and all_comments enables the legacy list of all comments.

Notable bug fixes:

  • Correctly handle import paths within node_modules for auto imports.
  • Fixed a bug in Go to Definition on imported values that skipped all the way to the value's type definition instead of the value's definition.