32 lines
591 B
TypeScript
32 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 = {}));
|