TypeScript/tests/baselines/reference/forgottenNew.errors.txt
2014-09-12 13:35:07 -07:00

11 lines
506 B
Plaintext

tests/cases/conformance/expressions/functionCalls/forgottenNew.ts(5,14): error TS2348: Value of type 'typeof NullLogger' is not callable. Did you mean to include 'new'?
==== tests/cases/conformance/expressions/functionCalls/forgottenNew.ts (1 errors) ====
module Tools {
export class NullLogger { }
}
var logger = Tools.NullLogger();
~~~~~~~~~~~~~~~~~~
!!! error TS2348: Value of type 'typeof NullLogger' is not callable. Did you mean to include 'new'?