TypeScript/tests/baselines/reference/emptyTypeArgumentListWithNew.errors.txt
2014-07-12 17:30:19 -07:00

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.