mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
409 B
Plaintext
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'? |