TypeScript/tests/baselines/reference/ExportInterfaceWithInaccessibleTypeInIndexerTypeAnnotations.js

19 lines
325 B
JavaScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [ExportInterfaceWithInaccessibleTypeInIndexerTypeAnnotations.ts]
module A {
interface Point {
x: number;
y: number;
}
export interface points {
[idx: number]: Point;
[idx: string]: Point;
}
}
//// [ExportInterfaceWithInaccessibleTypeInIndexerTypeAnnotations.js]