Closed
Description
First slog of 2016 🎉
Some old ones 👴
- Removing the qualified name restriction on import targets #1166 Allow
import
of identifiers - 'type' aliases of string can not be used as object index signature. #1778 Allow type aliases of strings to be index signature parameters
- Error messages are difficult to parse when class incorrectly implements an interface #1796 Reduce error noise when class incorrectly implements interface
- Default generic type variables #2175 Generic type argument defaults
- Allow assignment of void returning functions to appropriate construct signature types #2310 Use the 'void functions are constructors' in assignability (as they are in
new
expression checking) - Generic decorators - could they receive some default type arguments? #2607 Provide a way for decorator functions to be generic on their targets/values
Some new ones 👶
- Union returntype with void must return a value #6326 Allow functions returning
Foo|void
to lack areturn
statement - Contextually type the rightmost operand of comma operators and logical 'AND's #6199 Contextually type
y
inx, y
andx && y
- Remove restriction of properties overriding prototype methods #6154 Allow properties to override prototype methods
- const enum should allow "Infinity" as a valid name #6153 Allow numeric-named (e.g.
Infinity
) keys inconst enum
s - Array.prototype.filter definition forces a boolean #5850 Allow
Array#filter
's predicate to return any value (not justboolean
) - Abstract Properties #4669 Reconsider abstract properties