Likely to cause new Flow errors:
- Flow will no longer break up a union argument when calling an overloaded function. The code in this try-Flow will now be an error.
New Features:
- Under
jest_integration=true
, Flow will now error on some jest mocking APIs (e.g.jest.mock('./my-module')
) if the module doesn't exist.
Notable bug fixes:
- Fixed spread of empty array when calculating tuple elements, e.g.
[...[]] as []
now works. - Fixed inferred type of
React.ElementConfig/Props
when passed in a component syntax component (e.g. try-Flow)