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
andnumber
, 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