18 lines
325 B
JavaScript
18 lines
325 B
JavaScript
//// [ExportInterfaceWithInaccessibleTypeInIndexerTypeAnnotations.ts]
|
|
module A {
|
|
|
|
interface Point {
|
|
x: number;
|
|
y: number;
|
|
}
|
|
|
|
export interface points {
|
|
|
|
[idx: number]: Point;
|
|
[idx: string]: Point;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//// [ExportInterfaceWithInaccessibleTypeInIndexerTypeAnnotations.js]
|