Skip to content

Commit

Permalink
types(WelcomeChannel): Allow store channels (#6615)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite authored Sep 14, 2021
1 parent 8add4b0 commit 75d85f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/structures/WelcomeChannel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 75d85f7

Please sign in to comment.