export interface ObjMap < T > { [ key ] : T ; } export type ObjMapLike < T > = ObjMap < T > | { [ key ] : T ; } ; export interface ReadOnlyObjMap < T > { readonly [ key ] : T ; } export type ReadOnlyObjMapLike < T > = ReadOnlyObjMap < T > | { readonly [ key ] : T ; } ;