Closed RyanCavanaugh closed 9 years ago
nameof
operatormemberof
proposal we have floating around somewheresuper
callthis
in lexically-before super
callsconstructor
property of classes should point to the static side of the classvar x: typeof expr[0]
(useful for arrays and tuples)let
s in for
loopsbreak
in this case, but allow standard break
var
s in the bodynoImplicitAny
void
parameters to be omitted in function callstypeof x
===
'function'
or 'object'
)return
expression is a recognized type guard (e.g. x instanceof y
), automatically infer the function itself to be a type guardisFoo
separately (and generically?) to get this to work
Planned for discussion today
1579
nameof
operator1611 contextually type getter return statements in object literal methods
2103 rest/spread object properties (Stage 2 ES7 proposal), https://github.com/sebmarkbage/ecmascript-rest-spread
2491 allow enums as index signature keys
3311 relax rules around
super
call3411 indexing by a const enum should be the same as a literal (in tuples)
3841
constructor
property of classes should point to the static side of the class3749 allow
var x: typeof expr[0]
(useful for arrays and tuples)3915 downlevel emit captured
let
s infor
loops4035 publish TypeScript on Bower
4089 when an object literal is contextually typed by an unindexed type, don't set allowNewIdentifiers = true in the LS
4241 contextually type function parameters even when other parameters have type annotations
4260 allow trailing
void
parameters to be omitted in function calls4868 more type guards (
typeof x
===
'function'
or'object'
)5101 when a function's
return
expression is a recognized type guard (e.g.x instanceof y
), automatically infer the function itself to be a type guard