github facebook/flow v0.161.0

latest releases: v0.247.0, v0.246.0, v0.245.2...
2 years ago

Likely to cause new Flow errors:

  • Only consider variables as "constlike" if their assignments are within their declarations. This fixes cases of unsoundness. example.

New Features:

  • Add hierarchical document symbol support to the LSP. Improves VS Code's Outline pane, breadcrumbs and symbol search.
  • Autocomplete now includes primitive types like string and number, as well as utility types like $Call and $Keys.

Notable changes:

  • Significantly improved overall performance.

Notable bug fixes:

  • Unknown or redundant settings in the flowconfig [lints] section are now ignored when passing --ignore-version.
  • Improve results of type-at-pos on $ReadOnly types.

flow-remove-types:

  • Added a Jest transformer, flow-remove-types/jest

Don't miss a new flow release

NewReleases is sending notifications on new releases.