23 lines
959 B
Text
23 lines
959 B
Text
=== tests/cases/compiler/superCallFromClassThatDerivesFromGenericType2.ts ===
|
|
declare class B<T> {
|
|
>B : B<T>, Symbol(B,Decl(superCallFromClassThatDerivesFromGenericType2.ts,0,0))
|
|
>T : T, Symbol(T,Decl(superCallFromClassThatDerivesFromGenericType2.ts,0,16))
|
|
|
|
m<U>(): B<U>;
|
|
>m : <U>() => B<U>, Symbol(m,Decl(superCallFromClassThatDerivesFromGenericType2.ts,0,20))
|
|
>U : U, Symbol(U,Decl(superCallFromClassThatDerivesFromGenericType2.ts,1,6))
|
|
>B : B<T>, Symbol(B,Decl(superCallFromClassThatDerivesFromGenericType2.ts,0,0))
|
|
>U : U, Symbol(U,Decl(superCallFromClassThatDerivesFromGenericType2.ts,1,6))
|
|
}
|
|
|
|
class D extends B<any> {
|
|
>D : D, Symbol(D,Decl(superCallFromClassThatDerivesFromGenericType2.ts,2,1))
|
|
>B : B<T>, Symbol(B,Decl(superCallFromClassThatDerivesFromGenericType2.ts,0,0))
|
|
|
|
constructor() {
|
|
super();
|
|
>super() : void
|
|
>super : typeof B, Symbol(B,Decl(superCallFromClassThatDerivesFromGenericType2.ts,0,0))
|
|
}
|
|
}
|
|
|