Skip to content

v0.103.0

Compare
Choose a tag to compare
@facebook-github-bot facebook-github-bot released this 18 Jul 18:59

New Features:

  • Added --types flag to flow cycle, when given only type dependencies are used to compute cycles

Notable bug fixes:

  • Fixed a bug when destructuring unions gave spurious errors [example]
  • Updated for-in/for-of head expressions to be evaluated in the correct scope [example]

Performance:

  • Improved the calculation for what are dependents of a file, reducing work during rechecks

Library definitions:

  • Added support for Array#flatMap (thanks @goodmind)
  • Replaced usages of Object and Function (which are aliases for any) in library definitions with any
  • Removed some usages of any from library definitions
  • Updated Function#apply to accept strictly two arguments (thanks @goodmind)
  • Added SpeechSynthesis definitions (thanks @goodmind)

Misc:

  • Updated/added HTML spec URLs in comments (thanks @kevinSuttle)
  • Fixed parsing of anonymous class implements clause (thanks @goodmind)
  • Added support for printing mixins and implements (thanks @goodmind)