Files
2025-05-15 13:35:49 +10:00

17 lines
318 B
TypeScript

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