You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apologies for the vague title, I can't quite pin down the cause of this, hence the poor wording
$ tsc --version
1.9.0-dev.20160208
The problem is best described using the following example:
// using --noImplicitAnyleta=undefined;// OK: error as expected: Variable 'a' implicitly has an 'any' type.functionmine<T>(meth: ()=>T): T{returnmeth();}// **Problem**: x has type 'any' below// Should be a compiler errorletx=mine(()=>{returnundefined;});