You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
318 B
17 lines
318 B
4 months ago
|
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;
|
||
|
};
|