14 lines
193 B
TypeScript
14 lines
193 B
TypeScript
module A {
|
|
|
|
interface Point {
|
|
x: number;
|
|
y: number;
|
|
}
|
|
|
|
export interface points {
|
|
|
|
[idx: number]: Point;
|
|
[idx: string]: Point;
|
|
}
|
|
}
|
|
|