2015-01-24 17:04:23 +01:00
|
|
|
=== tests/cases/compiler/indexer2.ts ===
|
|
|
|
interface IHeapObjectProperty {}
|
2015-04-13 23:01:57 +02:00
|
|
|
>IHeapObjectProperty : IHeapObjectProperty, Symbol(IHeapObjectProperty, Decl(indexer2.ts, 0, 0))
|
2015-01-24 17:04:23 +01:00
|
|
|
|
|
|
|
interface IDirectChildrenMap {
|
2015-04-13 23:01:57 +02:00
|
|
|
>IDirectChildrenMap : IDirectChildrenMap, Symbol(IDirectChildrenMap, Decl(indexer2.ts, 0, 32))
|
2015-01-24 17:04:23 +01:00
|
|
|
|
|
|
|
hasOwnProperty(objectId: number) : boolean;
|
2015-04-13 23:01:57 +02:00
|
|
|
>hasOwnProperty : (objectId: number) => boolean, Symbol(hasOwnProperty, Decl(indexer2.ts, 1, 30))
|
|
|
|
>objectId : number, Symbol(objectId, Decl(indexer2.ts, 2, 23))
|
2015-01-24 17:04:23 +01:00
|
|
|
|
|
|
|
[objectId: number] : IHeapObjectProperty[];
|
2015-04-13 23:01:57 +02:00
|
|
|
>objectId : number, Symbol(objectId, Decl(indexer2.ts, 3, 9))
|
|
|
|
>IHeapObjectProperty : IHeapObjectProperty, Symbol(IHeapObjectProperty, Decl(indexer2.ts, 0, 0))
|
2015-01-24 17:04:23 +01:00
|
|
|
}
|
|
|
|
var directChildrenMap = <IDirectChildrenMap>{};
|
2015-04-13 23:01:57 +02:00
|
|
|
>directChildrenMap : IDirectChildrenMap, Symbol(directChildrenMap, Decl(indexer2.ts, 5, 3))
|
2015-01-24 17:04:23 +01:00
|
|
|
><IDirectChildrenMap>{} : IDirectChildrenMap
|
2015-04-13 23:01:57 +02:00
|
|
|
>IDirectChildrenMap : IDirectChildrenMap, Symbol(IDirectChildrenMap, Decl(indexer2.ts, 0, 32))
|
2015-01-24 17:04:23 +01:00
|
|
|
>{} : { [x: number]: undefined; }
|
|
|
|
|