27 lines
363 B
Text
27 lines
363 B
Text
=== tests/cases/compiler/superWithGenerics.ts ===
|
|
declare class B<T> {
|
|
>B : B<T>
|
|
>T : T
|
|
|
|
m<U>(): B<U>;
|
|
>m : <U>() => B<U>
|
|
>U : U
|
|
>B : B<T>
|
|
>U : U
|
|
|
|
static g(): B<any>;
|
|
>g : () => B<any>
|
|
>B : B<T>
|
|
}
|
|
|
|
class D extends B<any> {
|
|
>D : D
|
|
>B : B<any>
|
|
|
|
constructor() {
|
|
super();
|
|
>super() : void
|
|
>super : typeof B
|
|
}
|
|
}
|
|
|