35 lines
1.2 KiB
Text
35 lines
1.2 KiB
Text
=== tests/cases/compiler/baseTypeAfterDerivedType.ts ===
|
|
interface Derived extends Base {
|
|
>Derived : Symbol(Derived, Decl(baseTypeAfterDerivedType.ts, 0, 0))
|
|
>Base : Symbol(Base, Decl(baseTypeAfterDerivedType.ts, 2, 1))
|
|
|
|
method(...args: any[]): void;
|
|
>method : Symbol(method, Decl(baseTypeAfterDerivedType.ts, 0, 32))
|
|
>args : Symbol(args, Decl(baseTypeAfterDerivedType.ts, 1, 11))
|
|
}
|
|
|
|
interface Base {
|
|
>Base : Symbol(Base, Decl(baseTypeAfterDerivedType.ts, 2, 1))
|
|
|
|
method(...args: any[]): void;
|
|
>method : Symbol(method, Decl(baseTypeAfterDerivedType.ts, 4, 16))
|
|
>args : Symbol(args, Decl(baseTypeAfterDerivedType.ts, 5, 11))
|
|
}
|
|
|
|
class Derived2 implements Base2 {
|
|
>Derived2 : Symbol(Derived2, Decl(baseTypeAfterDerivedType.ts, 6, 1))
|
|
>Base2 : Symbol(Base2, Decl(baseTypeAfterDerivedType.ts, 10, 1))
|
|
|
|
method(...args: any[]): void { }
|
|
>method : Symbol(method, Decl(baseTypeAfterDerivedType.ts, 8, 33))
|
|
>args : Symbol(args, Decl(baseTypeAfterDerivedType.ts, 9, 11))
|
|
}
|
|
|
|
interface Base2 {
|
|
>Base2 : Symbol(Base2, Decl(baseTypeAfterDerivedType.ts, 10, 1))
|
|
|
|
method(...args: any[]): void;
|
|
>method : Symbol(method, Decl(baseTypeAfterDerivedType.ts, 12, 17))
|
|
>args : Symbol(args, Decl(baseTypeAfterDerivedType.ts, 13, 11))
|
|
}
|
|
|