1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
//// [tests/cases/compiler/superWithTypeArgument3.ts] ////
=== superWithTypeArgument3.ts ===
class C<T> {
>C : C<T>
foo: T;
>foo : T
bar<U>(x: U) { }
>bar : <U>(x: U) => void
>x : U
}
class D<T> extends C<T> {
>D : D<T>
>C : C<T>
constructor() {
super<T>();
>super<T>() : void
>super : typeof C
}
bar() {
>bar : () => void
super.bar<T>(null);
>super.bar<T>(null) : void
>super.bar : <U>(x: U) => void
>super : C<T>
>bar : <U>(x: U) => void
}
}
|