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