TypeScript/tests/baselines/reference/interfaceInheritance2.types
2015-04-13 14:29:37 -07:00

20 lines
517 B
Plaintext

=== 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))