TypeScript/tests/baselines/reference/interfaceInheritance2.types

19 lines
499 B
Text

=== tests/cases/compiler/interfaceInheritance2.ts ===
interface I6 {
>I6 : I6, Symbol(I6,Decl(interfaceInheritance2.ts,0,0))
():void;
}
interface I7 extends I6 { }
>I7 : I7, Symbol(I7,Decl(interfaceInheritance2.ts,2,1))
>I6 : I6, Symbol(I6,Decl(interfaceInheritance2.ts,0,0))
var v1:I7;
>v1 : I7, Symbol(v1,Decl(interfaceInheritance2.ts,6,3))
>I7 : I7, Symbol(I7,Decl(interfaceInheritance2.ts,2,1))
v1();
>v1() : void
>v1 : I7, Symbol(v1,Decl(interfaceInheritance2.ts,6,3))