From 57d839e8beca556aa164315e6d9680701f24f164 Mon Sep 17 00:00:00 2001 From: March 7th <71698422+aiko-chan-ai@users.noreply.github.com> Date: Fri, 17 Jun 2022 12:52:53 +0700 Subject: [PATCH] types(GuildChannel): fix type of `.isText()` method v13.8.1 https://github.com/discordjs/discord.js/milestone/18 --- typings/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index 0e08852..872b8dd 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1180,7 +1180,7 @@ export abstract class GuildChannel extends Channel { public setName(name: string, reason?: string): Promise; public setParent(channel: CategoryChannelResolvable | null, options?: SetParentOptions): Promise; public setPosition(position: number, options?: SetChannelPositionOptions): Promise; - public isText(): this is TextChannel | NewsChannel; + public isText(): this is GuildTextBasedChannel; } export class GuildEmoji extends BaseGuildEmoji {