22 lines
665 B
Text
22 lines
665 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
|
||
|
>{} : { [x: number]: undefined; }
|
||
|
|