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