From 75d85f7838eb3fffe9c6a2c02667a14b77940de7 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Tue, 14 Sep 2021 23:26:03 +0100 Subject: [PATCH] types(WelcomeChannel): Allow store channels (#6615) --- src/structures/WelcomeChannel.js | 2 +- typings/index.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/structures/WelcomeChannel.js b/src/structures/WelcomeChannel.js index fb89f2504..283659aa2 100644 --- a/src/structures/WelcomeChannel.js +++ b/src/structures/WelcomeChannel.js @@ -42,7 +42,7 @@ class WelcomeChannel extends Base { /** * The channel of this welcome channel - * @type {?(TextChannel|NewsChannel)} + * @type {?(TextChannel|NewsChannel|StoreChannel)} */ get channel() { return this.client.channels.resolve(this.channelId); diff --git a/typings/index.d.ts b/typings/index.d.ts index 602bb6330..3d4a6128d 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -2224,7 +2224,7 @@ export class WelcomeChannel extends Base { public channelId: Snowflake; public guild: Guild | InviteGuild; public description: string; - public readonly channel: TextChannel | NewsChannel | null; + public readonly channel: TextChannel | NewsChannel | StoreChannel | null; public readonly emoji: GuildEmoji | Emoji; }