Remove discriminator property and emotion server from type declarations

This commit is contained in:
regalijan 2023-10-19 16:50:07 -04:00
parent f31dd1d1e1
commit f93116c5eb
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

6
index.d.ts vendored
View File

@ -1,5 +1,3 @@
import type { EmotionCache } from "@emotion/utils";
declare global { declare global {
module "*.css"; module "*.css";
@ -31,7 +29,6 @@ declare global {
learned: string; learned: string;
reason_for_unban: string; reason_for_unban: string;
user: { user: {
discriminator: string;
id: string; id: string;
username: string; username: string;
}; };
@ -66,13 +63,10 @@ declare global {
target_ids: number[]; target_ids: number[];
target_usernames: string[]; target_usernames: string[];
user?: { user?: {
discriminator: string;
id: string; id: string;
username: string; username: string;
}; };
} }
export function createEmotionServer(cache: EmotionCache): EmotionServer;
} }
export {}; export {};