Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Actually modernize types this time
  • Loading branch information
regalijan committed Oct 19, 2023
1 parent df1c21f commit 589d07f
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions index.d.ts
Expand Up @@ -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 {
Expand All @@ -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;
Expand Down

0 comments on commit 589d07f

Please sign in to comment.