21 lines
582 B
TypeScript
21 lines
582 B
TypeScript
//// [indexer2A.ts]
|
|
class IHeapObjectProperty { }
|
|
class IDirectChildrenMap {
|
|
// Decided to enforce a semicolon after declarations
|
|
hasOwnProperty(objectId: number): boolean
|
|
[objectId: number]: IHeapObjectProperty[]
|
|
}
|
|
var directChildrenMap = <IDirectChildrenMap>{};
|
|
|
|
//// [indexer2A.js]
|
|
var IHeapObjectProperty = (function () {
|
|
function IHeapObjectProperty() {
|
|
}
|
|
return IHeapObjectProperty;
|
|
}());
|
|
var IDirectChildrenMap = (function () {
|
|
function IDirectChildrenMap() {
|
|
}
|
|
return IDirectChildrenMap;
|
|
}());
|
|
var directChildrenMap = {};
|