types(GuildChannel): fix type of .isText() method

v13.8.1
https://github.com/discordjs/discord.js/milestone/18
This commit is contained in:
March 7th 2022-06-17 12:52:53 +07:00
parent f34994b6ca
commit 57d839e8be

2
typings/index.d.ts vendored
View File

@ -1180,7 +1180,7 @@ export abstract class GuildChannel extends Channel {
public setName(name: string, reason?: string): Promise<this>; public setName(name: string, reason?: string): Promise<this>;
public setParent(channel: CategoryChannelResolvable | null, options?: SetParentOptions): Promise<this>; public setParent(channel: CategoryChannelResolvable | null, options?: SetParentOptions): Promise<this>;
public setPosition(position: number, options?: SetChannelPositionOptions): 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 { export class GuildEmoji extends BaseGuildEmoji {