TypeScript/tests/cases/compiler/genericTypeWithMultipleBases2.ts
2014-07-12 17:30:19 -07:00

19 lines
222 B
TypeScript

//@module: amd
export interface I1 {
m1: () => void;
}
export interface I2 {
m2: () => void;
}
export interface I3<T> extends I2, I1 {
p1: T;
}
var x: I3<number>;
x.p1;
x.m1();
x.m2();