Skip to content

Commit

Permalink
types(GuildChannel): fix type of .isText() method (#8061)
Browse files Browse the repository at this point in the history
  • Loading branch information
Syjalo committed Jun 13, 2022
1 parent 8f6df90 commit 0d0190a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typings/index.d.ts
Expand Up @@ -1117,7 +1117,7 @@ export abstract class GuildChannel extends Channel {
public setName(name: string, reason?: string): Promise<this>;
public setParent(channel: CategoryChannelResolvable | null, options?: SetParentOptions): Promise<this>;
public setPosition(position: number, options?: SetChannelPositionOptions): Promise<this>;
public isText(): this is TextChannel | NewsChannel;
public isText(): this is GuildTextBasedChannel;
}

export class GuildEmoji extends BaseGuildEmoji {
Expand Down

0 comments on commit 0d0190a

Please sign in to comment.