github facebook/flow v0.191.0

latest releases: v0.253.0, v0.252.0, v0.251.1...
2 years ago

Likely to cause new Flow errors:

  • The exact_empty_objects option is now enabled by default. Details about this change and how to update your codebase are covered on our blog.
  • The typeof X type annotation now respects the initialization state of X: if X hasn't been declared it will be an error to get its type.

Notable changes:

  • The enforce_local_inference_annotations config option was removed. To migrate your codebase, run the following codemod to add the required annotations: flow codemod annotate-lti. More details on the changes are explained in the Requiring More Annotations to Functions and Classes in Flow blog post.
  • Literals can be suggested by autocomplete in more cases
  • Fixed autocompleting specifiers in an import statement

Don't miss a new flow release

NewReleases is sending notifications on new releases.