types(GuildChannel): fix type of .isText()
method
v13.8.1 https://github.com/discordjs/discord.js/milestone/18
This commit is contained in:
parent
f34994b6ca
commit
57d839e8be
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user