TypeScript/tests/baselines/reference/superWithTypeArgument2.errors.txt
2014-09-11 16:11:08 -07:00

14 lines
425 B
Plaintext

==== tests/cases/compiler/superWithTypeArgument2.ts (2 errors) ====
class C<T> {
foo: T;
}
class D<T> extends C<T> {
constructor(x) {
super<T>(x);
~
!!! error TS1034: 'super' must be followed by an argument list or member access.
~~~~~~~~~~~
!!! error TS2346: Supplied parameters do not match any signature of call target.
}
}