TypeScript/tests/baselines/reference/newFunctionImplicitAny.errors.txt
2014-07-12 17:30:19 -07:00

7 lines
323 B
Plaintext

==== tests/cases/compiler/newFunctionImplicitAny.ts (1 errors) ====
// No implicit any error given when newing a function (up for debate)
function Test() { }
var test = new Test();
~~~~~~~~~~
!!! 'new' expression, whose target lacks a construct signature, implicitly has an 'any' type.