types: More accurate types instead of GuildChannelResolvable (#6744)

This commit is contained in:
Jiralite
2021-10-03 14:01:38 +01:00
committed by GitHub
parent 9e421f6ccf
commit a8e60105fb
3 changed files with 27 additions and 6 deletions

View File

@@ -10,7 +10,7 @@ const { Error } = require('../errors');
class NewsChannel extends BaseGuildTextChannel {
/**
* Adds the target to this channel's followers.
* @param {GuildChannelResolvable} channel The channel where the webhook should be created
* @param {TextChannelResolvable} channel The channel where the webhook should be created
* @param {string} [reason] Reason for creating the webhook
* @returns {Promise<NewsChannel>}
* @example