Actually modernize types this time

This commit is contained in:
regalijan 2023-10-19 16:49:53 -04:00
parent df1c21fa41
commit 589d07f1ac
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

16
index.d.ts vendored
View File

@ -27,11 +27,14 @@ declare global {
interface AppealCardProps {
ban_reason: string;
created_at: number;
discriminator: string;
id: string;
learned: string;
reason_for_unban: string;
username: string;
user: {
discriminator: string;
id: string;
username: string;
}
}
interface GameAppealProps {
@ -46,9 +49,16 @@ declare global {
attachment: string;
attachment_loading?: boolean;
created_at: number;
reporter?: { [k: string]: any };
id: string;
open: boolean;
target_ids: number[];
target_usernames: string[];
user?: {
discriminator: string;
email: string;
id: string;
username: string;
}
}
export function createEmotionServer(cache: EmotionCache): EmotionServer;