Actually modernize types this time
This commit is contained in:
parent
df1c21fa41
commit
589d07f1ac
16
index.d.ts
vendored
16
index.d.ts
vendored
@ -27,11 +27,14 @@ declare global {
|
|||||||
interface AppealCardProps {
|
interface AppealCardProps {
|
||||||
ban_reason: string;
|
ban_reason: string;
|
||||||
created_at: number;
|
created_at: number;
|
||||||
discriminator: string;
|
|
||||||
id: string;
|
id: string;
|
||||||
learned: string;
|
learned: string;
|
||||||
reason_for_unban: string;
|
reason_for_unban: string;
|
||||||
username: string;
|
user: {
|
||||||
|
discriminator: string;
|
||||||
|
id: string;
|
||||||
|
username: string;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
interface GameAppealProps {
|
interface GameAppealProps {
|
||||||
@ -46,9 +49,16 @@ declare global {
|
|||||||
attachment: string;
|
attachment: string;
|
||||||
attachment_loading?: boolean;
|
attachment_loading?: boolean;
|
||||||
created_at: number;
|
created_at: number;
|
||||||
reporter?: { [k: string]: any };
|
id: string;
|
||||||
|
open: boolean;
|
||||||
target_ids: number[];
|
target_ids: number[];
|
||||||
target_usernames: string[];
|
target_usernames: string[];
|
||||||
|
user?: {
|
||||||
|
discriminator: string;
|
||||||
|
email: string;
|
||||||
|
id: string;
|
||||||
|
username: string;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export function createEmotionServer(cache: EmotionCache): EmotionServer;
|
export function createEmotionServer(cache: EmotionCache): EmotionServer;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user