16 lines
265 B
Text
16 lines
265 B
Text
=== tests/cases/compiler/genericClassInheritsConstructorFromNonGenericClass.ts ===
|
|
class A extends B<string> { }
|
|
>A : A
|
|
>B : B<string>
|
|
|
|
class B<U> extends C { }
|
|
>B : B<U>
|
|
>U : U
|
|
>C : C
|
|
|
|
class C {
|
|
>C : C
|
|
|
|
constructor(p: string) { }
|
|
>p : string
|
|
}
|