New Features:
- Autocomplete for nullable objects will now suggest completions with optional chaining syntax
- Added a new lint,
unsafe-addition
, which warns if either operand of an addition isnull
orvoid
Breaking change:
- The output of
flow autocomplete --json
no longer includes location information. This might affect some IDE integrations which have not yet updated to Flow's LSP server. The LSP integration is unaffected.
Misc:
- Added the
dir
field to theDocument
libdef (Thanks, @lukeapage!)