Likely to cause new Flow errors:
- The
exact_empty_objectsoption is now enabled by default. Details about this change and how to update your codebase are covered on our blog. - The
typeof Xtype annotation now respects the initialization state ofX: ifXhasn't been declared it will be an error to get its type.
Notable changes:
- The
enforce_local_inference_annotationsconfig 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