From ca4f0e653c311954db8b6f51028ad8ce46816906 Mon Sep 17 00:00:00 2001 From: xnacly Date: Sun, 29 Aug 2021 16:55:46 +0200 Subject: [PATCH] fixed wrong type declaration in Gateway readyEvent --- util/src/interfaces/Event.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/src/interfaces/Event.ts b/util/src/interfaces/Event.ts index bab6f4dc..c3516c4c 100644 --- a/util/src/interfaces/Event.ts +++ b/util/src/interfaces/Event.ts @@ -35,11 +35,11 @@ export interface ReadyEventData { user: PublicUser & { mobile: boolean; desktop: boolean; - email: string | null; + email: string | undefined; flags: bigint; mfa_enabled: boolean; nsfw_allowed: boolean; - phone: string | null; + phone: string | undefined; premium: boolean; premium_type: number; verified: boolean;