mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 10:03:31 +01:00
Document readonly and private properties (#1338)
This commit is contained in:
@@ -126,6 +126,7 @@ class Role {
|
||||
/**
|
||||
* The position of the role in the role manager
|
||||
* @type {number}
|
||||
* @readonly
|
||||
*/
|
||||
get calculatedPosition() {
|
||||
const sorted = this.guild._sortedRoles;
|
||||
|
||||
Reference in New Issue
Block a user