- Improved generic type checking launched in v0.140. The deprecated implementation and the temporary
generate_tests=trueflowconfig option have now been removed. - Fixed an issue with logical operators (
&&,||,??) and union types - Object rest properties (
let {foo, ...rest} = obj) now retain the indexer of the object being destructured. In this example, ifobjis{[string]: string}, thenrestis also{[string]: string}. - Made the parser recover gracefully in some cases when in the middle of typing, allowing language services to work better in the rest of the file
- Improved experimental cross-module autocomplete to include globals and built-in modules. Can be enabled with the
autoimports=trueflowconfig option. - Fixed a bug so that the server no longer exits when merely
touch-ing the.flowconfigwithout changing it