// @target: es2015
interface A {
	a: number;
}

interface I extends A {
	i1: number;
}

interface B {
	b: number;
}

interface I extends B {
	i2: number;
}

var i: I;

var a = i.a;
var i1 = i.i1;
var b = i.b;
var i2 = i.i2;