TypeScript/tests/baselines/reference/ExportClassWithInaccessibleTypeInIndexerTypeAnnotations.js
2015-12-08 17:51:10 -08:00

33 lines
591 B
TypeScript

//// [ExportClassWithInaccessibleTypeInIndexerTypeAnnotations.ts]
module A {
class Point {
x: number;
y: number;
}
export class points {
[idx: number]: Point;
[idx: string]: Point;
}
}
//// [ExportClassWithInaccessibleTypeInIndexerTypeAnnotations.js]
var A;
(function (A) {
var Point = (function () {
function Point() {
}
return Point;
}());
var points = (function () {
function points() {
}
return points;
}());
A.points = points;
})(A || (A = {}));