TypeScript/tests/baselines/reference/emptyTypeArgumentListWithNew.errors.txt

7 lines
254 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== 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.