Files

10 lines
305 B
Plaintext

callOnClass.ts(2,9): error TS2348: Value of type 'typeof C' is not callable. Did you mean to include 'new'?
==== callOnClass.ts (1 errors) ====
class C { }
var c = C();
~~~
!!! error TS2348: Value of type 'typeof C' is not callable. Did you mean to include 'new'?