38 lines
597 B
Text
38 lines
597 B
Text
=== tests/cases/compiler/declFileGenericClassWithGenericExtendedClass.ts ===
|
|
interface IFoo {
|
|
>IFoo : IFoo
|
|
|
|
baz: Baz;
|
|
>baz : Baz
|
|
>Baz : Baz
|
|
}
|
|
class Base<T> { }
|
|
>Base : Base<T>
|
|
>T : T
|
|
|
|
class Derived<T> extends Base<T> { }
|
|
>Derived : Derived<T>
|
|
>T : T
|
|
>Base : Base<T>
|
|
>T : T
|
|
|
|
interface IBar<T> {
|
|
>IBar : IBar<T>
|
|
>T : T
|
|
|
|
derived: Derived<T>;
|
|
>derived : Derived<T>
|
|
>Derived : Derived<T>
|
|
>T : T
|
|
}
|
|
class Baz implements IBar<Baz> {
|
|
>Baz : Baz
|
|
>IBar : IBar<T>
|
|
>Baz : Baz
|
|
|
|
derived: Derived<Baz>;
|
|
>derived : Derived<Baz>
|
|
>Derived : Derived<T>
|
|
>Baz : Baz
|
|
}
|
|
|