Remove discriminator property and emotion server from type declarations
This commit is contained in:
parent
f31dd1d1e1
commit
f93116c5eb
6
index.d.ts
vendored
6
index.d.ts
vendored
@ -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 {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user