ReadonlyObjectMap type

An object used as a map with values of the given type as read-only properties.

Signature:

export type ReadonlyObjectMap<T> = {
    readonly [key: string]: T;
};