18 lines
222 B
TypeScript
18 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();
|
|
|