21 lines
640 B
Text
21 lines
640 B
Text
=== tests/cases/compiler/indexer2.ts ===
|
|
interface IHeapObjectProperty {}
|
|
>IHeapObjectProperty : IHeapObjectProperty
|
|
|
|
interface IDirectChildrenMap {
|
|
>IDirectChildrenMap : IDirectChildrenMap
|
|
|
|
hasOwnProperty(objectId: number) : boolean;
|
|
>hasOwnProperty : (objectId: number) => boolean
|
|
>objectId : number
|
|
|
|
[objectId: number] : IHeapObjectProperty[];
|
|
>objectId : number
|
|
>IHeapObjectProperty : IHeapObjectProperty
|
|
}
|
|
var directChildrenMap = <IDirectChildrenMap>{};
|
|
>directChildrenMap : IDirectChildrenMap
|
|
><IDirectChildrenMap>{} : IDirectChildrenMap
|
|
>IDirectChildrenMap : IDirectChildrenMap
|
|
>{} : {}
|
|
|