8 lines
No EOL
289 B
Text
8 lines
No EOL
289 B
Text
==== 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'? |