From cf669301c7be8eaecf91d7f764eccc67d7a5b4c6 Mon Sep 17 00:00:00 2001 From: Rodry <38259440+ImRodry@users.noreply.github.com> Date: Wed, 23 Feb 2022 07:39:33 +0000 Subject: [PATCH] types(anychannel): add PartialGroupDMChannel (#7472) --- packages/discord.js/typings/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/discord.js/typings/index.d.ts b/packages/discord.js/typings/index.d.ts index 646b7813a..646f9051a 100644 --- a/packages/discord.js/typings/index.d.ts +++ b/packages/discord.js/typings/index.d.ts @@ -552,7 +552,7 @@ export abstract class Channel extends Base { public isThread(): this is ThreadChannel; public isStage(): this is StageChannel; public isTextBased(): this is TextBasedChannel; - public isDMBased(): this is PartialGroupDMChannel | DMChannel; + public isDMBased(): this is PartialGroupDMChannel | DMChannel | PartialDMChannel; public isVoiceBased(): this is VoiceBasedChannel; public toString(): ChannelMention; } @@ -4929,6 +4929,7 @@ export type AnyChannel = | CategoryChannel | DMChannel | PartialDMChannel + | PartialGroupDMChannel | NewsChannel | StageChannel | StoreChannel