Source code for the custom Mastodon (Glitchsoc) instance on berserker.town.
https://berserker.town/
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.
13 lines
319 B
13 lines
319 B
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;
|
|
}
|
|
|
|
type AccountValues = {
|
|
id: number;
|
|
avatar: string;
|
|
avatar_static: string;
|
|
[key: string]: any;
|
|
}
|
|
export type Account = MastodonMap<AccountValues>
|
|
|