36 lines
641 B
Plaintext
36 lines
641 B
Plaintext
=== tests/cases/compiler/baseTypeAfterDerivedType.ts ===
|
|
interface Derived extends Base {
|
|
>Derived : Derived
|
|
>Base : Base
|
|
|
|
method(...args: any[]): void;
|
|
>method : (...args: any[]) => void
|
|
>args : any[]
|
|
}
|
|
|
|
interface Base {
|
|
>Base : Base
|
|
|
|
method(...args: any[]): void;
|
|
>method : (...args: any[]) => void
|
|
>args : any[]
|
|
}
|
|
|
|
class Derived2 implements Base2 {
|
|
>Derived2 : Derived2
|
|
>Base2 : Base2
|
|
|
|
method(...args: any[]): void { }
|
|
>method : (...args: any[]) => void
|
|
>args : any[]
|
|
}
|
|
|
|
interface Base2 {
|
|
>Base2 : Base2
|
|
|
|
method(...args: any[]): void;
|
|
>method : (...args: any[]) => void
|
|
>args : any[]
|
|
}
|
|
|