From 46b9e251901493393308b93ea0844ac2176cafe0 Mon Sep 17 00:00:00 2001 From: Sugden <28943913+NotSugden@users.noreply.github.com> Date: Sun, 26 Apr 2020 14:58:53 +0100 Subject: [PATCH] typings(User): mark `locale` and `flags` as optional (#4127) --- typings/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index fb81181d8..528045d47 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1472,10 +1472,10 @@ declare module 'discord.js' { public discriminator: string; public readonly defaultAvatarURL: string; public readonly dmChannel: DMChannel; - public flags: Readonly; + public flags?: Readonly; public id: Snowflake; public lastMessageID: Snowflake | null; - public locale: string; + public locale?: string; public readonly partial: false; public readonly presence: Presence; public system?: boolean;