TypeScript/tests/baselines/reference/interfaceInheritance2.types

20 lines
517 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/interfaceInheritance2.ts ===
interface I6 {
2015-04-13 23:01:57 +02:00
>I6 : I6, Symbol(I6, Decl(interfaceInheritance2.ts, 0, 0))
2014-08-15 23:33:16 +02:00
():void;
}
interface I7 extends I6 { }
2015-04-13 23:01:57 +02:00
>I7 : I7, Symbol(I7, Decl(interfaceInheritance2.ts, 2, 1))
>I6 : I6, Symbol(I6, Decl(interfaceInheritance2.ts, 0, 0))
2014-08-15 23:33:16 +02:00
var v1:I7;
2015-04-13 23:01:57 +02:00
>v1 : I7, Symbol(v1, Decl(interfaceInheritance2.ts, 6, 3))
>I7 : I7, Symbol(I7, Decl(interfaceInheritance2.ts, 2, 1))
2014-08-15 23:33:16 +02:00
v1();
>v1() : void
2015-04-13 23:01:57 +02:00
>v1 : I7, Symbol(v1, Decl(interfaceInheritance2.ts, 6, 3))
2014-08-15 23:33:16 +02:00