TypeScript/tests/baselines/reference/objectIndexer.types
Vladimir Matveev f06423bffc Revert "add part of test baselines"
This reverts commit 502b2ba321.
2016-03-09 17:08:26 -08:00

34 lines
508 B
Plaintext

=== tests/cases/compiler/objectIndexer.ts ===
export interface Callback {
>Callback : Callback
(value: any): void;
>value : any
}
interface IMap {
>IMap : IMap
[s: string]: Callback;
>s : string
>Callback : Callback
}
class Emitter {
>Emitter : Emitter
private listeners: IMap;
>listeners : IMap
>IMap : IMap
constructor () {
this.listeners = {};
>this.listeners = {} : {}
>this.listeners : IMap
>this : this
>listeners : IMap
>{} : {}
}
}