2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/genericClassInheritsConstructorFromNonGenericClass.ts ===
|
|
|
|
class A extends B<string> { }
|
|
|
|
>A : A
|
2014-08-19 04:56:03 +02:00
|
|
|
>B : B<U>
|
2014-08-15 23:33:16 +02:00
|
|
|
|
|
|
|
class B<U> extends C { }
|
|
|
|
>B : B<U>
|
|
|
|
>U : U
|
|
|
|
>C : C
|
|
|
|
|
|
|
|
class C {
|
|
|
|
>C : C
|
|
|
|
|
|
|
|
constructor(p: string) { }
|
|
|
|
>p : string
|
|
|
|
}
|