From 9c0f190de1f743d9bd597ffd656503c672db71c1 Mon Sep 17 00:00:00 2001
From: Jiralite <33201955+Jiralite@users.noreply.github.com>
Date: Mon, 13 Jun 2022 21:09:00 +0100
Subject: [PATCH] docs(BaseGuildTextChannel): Update `setType()`'s parameter
type (#8088)
---
packages/discord.js/src/structures/BaseGuildTextChannel.js | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/packages/discord.js/src/structures/BaseGuildTextChannel.js b/packages/discord.js/src/structures/BaseGuildTextChannel.js
index e0dfd58ff..0105c861a 100644
--- a/packages/discord.js/src/structures/BaseGuildTextChannel.js
+++ b/packages/discord.js/src/structures/BaseGuildTextChannel.js
@@ -90,8 +90,9 @@ class BaseGuildTextChannel extends GuildChannel {
}
/**
- * Sets the type of this channel (only conversion between text and news is supported)
- * @param {string} type The new channel type
+ * Sets the type of this channel.
+ * Only conversion between {@link TextChannel} and {@link NewsChannel} is supported.
+ * @param {ChannelType.GuildText|ChannelType.GuildNews} type The new channel type
* @param {string} [reason] Reason for changing the channel's type
* @returns {Promise}
*/