59 lines
625 B
Text
59 lines
625 B
Text
=== tests/cases/compiler/multiExtendsSplitInterfaces2.ts ===
|
|
interface A {
|
|
>A : A
|
|
|
|
a: number;
|
|
>a : number
|
|
}
|
|
|
|
interface I extends A {
|
|
>I : I
|
|
>A : A
|
|
|
|
i1: number;
|
|
>i1 : number
|
|
}
|
|
|
|
interface B {
|
|
>B : B
|
|
|
|
b: number;
|
|
>b : number
|
|
}
|
|
|
|
interface I extends B {
|
|
>I : I
|
|
>B : B
|
|
|
|
i2: number;
|
|
>i2 : number
|
|
}
|
|
|
|
var i: I;
|
|
>i : I
|
|
>I : I
|
|
|
|
var a = i.a;
|
|
>a : number
|
|
>i.a : number
|
|
>i : I
|
|
>a : number
|
|
|
|
var i1 = i.i1;
|
|
>i1 : number
|
|
>i.i1 : number
|
|
>i : I
|
|
>i1 : number
|
|
|
|
var b = i.b;
|
|
>b : number
|
|
>i.b : number
|
|
>i : I
|
|
>b : number
|
|
|
|
var i2 = i.i2;
|
|
>i2 : number
|
|
>i.i2 : number
|
|
>i : I
|
|
>i2 : number
|
|
|