Remove MastodonMap TS type (#24807)
parent
6fa4054a5d
commit
7bc13c1ca3
@ -1,7 +1 @@
|
||||
export interface MastodonMap<T> {
|
||||
get<K extends keyof T>(key: K): T[K];
|
||||
has<K extends keyof T>(key: K): boolean;
|
||||
set<K extends keyof T>(key: K, value: T[K]): this;
|
||||
}
|
||||
|
||||
export type ValueOf<T> = T[keyof T];
|
||||
|
Loading…
Reference in new issue