TypeScript/tests/baselines/reference/ExportClassWithInaccessibleTypeInIndexerTypeAnnotations.js
2014-07-12 17:30:19 -07:00

33 lines
591 B
JavaScript

//// [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 = {}));