Move card types to declaration file
This commit is contained in:
18
index.d.ts
vendored
18
index.d.ts
vendored
@ -23,6 +23,24 @@ declare global {
|
||||
extractCriticalToChunks: (html: string) => EmotionCriticalToChunks;
|
||||
}
|
||||
|
||||
interface AppealCardProps {
|
||||
ban_reason: string;
|
||||
createdAt: number;
|
||||
discriminator: string;
|
||||
id: string;
|
||||
learned: string;
|
||||
reason_for_unban: string;
|
||||
username: string;
|
||||
}
|
||||
|
||||
interface ReportCardProps {
|
||||
attachment: string;
|
||||
attachment_loading?: boolean;
|
||||
reporter?: { [k: string]: any };
|
||||
target_ids: number[];
|
||||
target_usernames: string[];
|
||||
}
|
||||
|
||||
export function createEmotionServer(cache: EmotionCache): EmotionServer;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user