TypeScript/tests/cases/compiler/typeCheckingInsideFunctionExpressionInArray.ts
2014-07-12 17:30:19 -07:00

7 lines
132 B
TypeScript

var functions = [function () {
var k: string = 10;
k = new Object();
[1, 2, 3].NonexistantMethod();
derp();
}];