2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/compiler/emptyTypeArgumentListWithNew.ts(2,8): error TS1099: Type argument list cannot be empty.
|
|
|
|
tests/cases/compiler/emptyTypeArgumentListWithNew.ts(2,1): error TS2346: Supplied parameters do not match any signature of call target.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/compiler/emptyTypeArgumentListWithNew.ts (2 errors) ====
|
|
|
|
class foo<T> { }
|
|
|
|
new foo<>();
|
|
|
|
~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS1099: Type argument list cannot be empty.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2346: Supplied parameters do not match any signature of call target.
|