types(WelcomeChannel): Allow store channels (#6615)

This commit is contained in:
Jiralite
2021-09-14 23:26:03 +01:00
committed by GitHub
parent 8add4b08f5
commit 75d85f7838
2 changed files with 2 additions and 2 deletions

View File

@@ -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);

2
typings/index.d.ts vendored
View File

@@ -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;
}