7 lines
No EOL
254 B
Text
7 lines
No EOL
254 B
Text
==== 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. |