mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 03:23:29 +01:00
fix: actually fix Readonly typos
This commit is contained in:
@@ -54,7 +54,7 @@ class Role extends Base {
|
||||
|
||||
/**
|
||||
* The permissions of the role
|
||||
* @type {ReadOnly<Permissions>}
|
||||
* @type {Readonly<Permissions>}
|
||||
*/
|
||||
this.permissions = new Permissions(data.permissions).freeze();
|
||||
|
||||
@@ -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
|
||||
* @returns {ReadOnly<Permissions>}
|
||||
* @returns {Readonly<Permissions>}
|
||||
*/
|
||||
permissionsIn(channel) {
|
||||
channel = this.guild.channels.resolve(channel);
|
||||
|
||||
Reference in New Issue
Block a user