·
8 commits
to main
since this release
Likely to cause new Flow errors:
- The config for
casting_syntaxis removed. Theascasting syntax is the only supported casting syntax. See Modernizing legacy syntax for migration guidance. - Flow will now error on
T: Bin favor ofT extends Bin type parameters, and error on+/-in favor ofreadonly/writeonly. See Modernizing legacy syntax for migration guidance.
New Features:
- Support the global
NaNas amatchpattern
Notable bug fixes:
- Fixed negative bigint literal patterns in
matchbeing treated as their positive counterpart ConstructorParametersandInstanceTypenow work onClass<C>, not justtypeof Cmatchinstance patterns whose constructor is a subclass of the scrutinee type are no longer incorrectly reported as unused.