7 lines
254 B
Plaintext
7 lines
254 B
Plaintext
|
==== tests/cases/compiler/emptyTypeArgumentListWithNew.ts (2 errors) ====
|
||
|
class foo<T> { }
|
||
|
new foo<>();
|
||
|
~~
|
||
|
!!! Type argument list cannot be empty.
|
||
|
~~~~~~~~~~~
|
||
|
!!! Supplied parameters do not match any signature of call target.
|