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

8 lines
289 B
Plaintext

==== tests/cases/compiler/forgottenNew.ts (1 errors) ====
module Tools {
export class NullLogger { }
}
var logger = Tools.NullLogger();
~~~~~~~~~~~~~~~~~~
!!! Value of type 'typeof NullLogger' is not callable. Did you mean to include 'new'?