v0.103.0
New Features:
- Added
--types
flag toflow 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
andFunction
(which are aliases forany
) in library definitions withany
- 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)