38 lines
2 KiB
Text
38 lines
2 KiB
Text
=== tests/cases/compiler/declFileGenericClassWithGenericExtendedClass.ts ===
|
|
interface IFoo {
|
|
>IFoo : IFoo, Symbol(IFoo,Decl(declFileGenericClassWithGenericExtendedClass.ts,0,0))
|
|
|
|
baz: Baz;
|
|
>baz : Baz, Symbol(baz,Decl(declFileGenericClassWithGenericExtendedClass.ts,0,16))
|
|
>Baz : Baz, Symbol(Baz,Decl(declFileGenericClassWithGenericExtendedClass.ts,7,1))
|
|
}
|
|
class Base<T> { }
|
|
>Base : Base<T>, Symbol(Base,Decl(declFileGenericClassWithGenericExtendedClass.ts,2,1))
|
|
>T : T, Symbol(T,Decl(declFileGenericClassWithGenericExtendedClass.ts,3,11))
|
|
|
|
class Derived<T> extends Base<T> { }
|
|
>Derived : Derived<T>, Symbol(Derived,Decl(declFileGenericClassWithGenericExtendedClass.ts,3,17))
|
|
>T : T, Symbol(T,Decl(declFileGenericClassWithGenericExtendedClass.ts,4,14))
|
|
>Base : Base<T>, Symbol(Base,Decl(declFileGenericClassWithGenericExtendedClass.ts,2,1))
|
|
>T : T, Symbol(T,Decl(declFileGenericClassWithGenericExtendedClass.ts,4,14))
|
|
|
|
interface IBar<T> {
|
|
>IBar : IBar<T>, Symbol(IBar,Decl(declFileGenericClassWithGenericExtendedClass.ts,4,36))
|
|
>T : T, Symbol(T,Decl(declFileGenericClassWithGenericExtendedClass.ts,5,15))
|
|
|
|
derived: Derived<T>;
|
|
>derived : Derived<T>, Symbol(derived,Decl(declFileGenericClassWithGenericExtendedClass.ts,5,19))
|
|
>Derived : Derived<T>, Symbol(Derived,Decl(declFileGenericClassWithGenericExtendedClass.ts,3,17))
|
|
>T : T, Symbol(T,Decl(declFileGenericClassWithGenericExtendedClass.ts,5,15))
|
|
}
|
|
class Baz implements IBar<Baz> {
|
|
>Baz : Baz, Symbol(Baz,Decl(declFileGenericClassWithGenericExtendedClass.ts,7,1))
|
|
>IBar : IBar<T>, Symbol(IBar,Decl(declFileGenericClassWithGenericExtendedClass.ts,4,36))
|
|
>Baz : Baz, Symbol(Baz,Decl(declFileGenericClassWithGenericExtendedClass.ts,7,1))
|
|
|
|
derived: Derived<Baz>;
|
|
>derived : Derived<Baz>, Symbol(derived,Decl(declFileGenericClassWithGenericExtendedClass.ts,8,32))
|
|
>Derived : Derived<T>, Symbol(Derived,Decl(declFileGenericClassWithGenericExtendedClass.ts,3,17))
|
|
>Baz : Baz, Symbol(Baz,Decl(declFileGenericClassWithGenericExtendedClass.ts,7,1))
|
|
}
|
|
|