mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
refactor: Strengthen channel typings in appropriate places (#6232)
This commit is contained in:
@@ -203,7 +203,7 @@ class Role extends Base {
|
||||
/**
|
||||
* Returns `channel.permissionsFor(role)`. Returns permissions for a role in a guild channel,
|
||||
* taking into account permission overwrites.
|
||||
* @param {ChannelResolvable} channel The guild channel to use as context
|
||||
* @param {GuildChannel|Snowflake} channel The guild channel to use as context
|
||||
* @returns {Readonly<Permissions>}
|
||||
*/
|
||||
permissionsIn(channel) {
|
||||
|
||||
Reference in New Issue
Block a user