Skip to content

@facebook-github-bot facebook-github-bot released this Jun 25, 2019 · 237 commits to master since this release

Likely to cause new Flow errors:

  • Function components with no arguments get a sealed empty object type as props.
  • Moved MixedElement export into the module declaration, so it will now need to be qualified as React.MixedElement.

Notable bug fixes:

  • Fixed error positioning around utility types (e.g. $ObjMap).
  • Omit reporting error stack traces to end users over LSP.
  • Fixed bug where Flow would crash when variable has same name as a type (fixes #7825)


  • Refactored coverage computation to use the typed AST. This enables coverage results over more locations that earlier.
  • Improved server and monitor error logging.
  • In typing object types as react components, account for the defaultProps property and make them compatible with React.AbstractComponent.
  • Optimized the way module exports are populated to prevent recursion limiter exceptions.
  • Improved error messages for invalid BigInts. (thanks, @goodmind!)
  • Hovering over an imported type alias returns its definition. (thanks, @vicapow!)
  • Fixed semver comparison to allow for suffixes such as rc.


  • Remove Object type (equivalent to any) from WeakSet and $ReadOnlyWeakSet. (thanks, @goodmind!)
  • Add methods to Node HTTP ServerResponse type definition. (thanks, @chrislloyd!)
  • Add definitions for the Web Animations API. (thanks, @goodmind!)
Assets 7
You can’t perform that action at this time.