Files

11 lines
409 B
Plaintext

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