mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 04:53:30 +01:00
docs(PermissionResolvable): move definition outside of class
Otherwise it won't appear in the docs for some reason
This commit is contained in:
@@ -104,15 +104,15 @@ class Permissions extends BitField {
|
|||||||
missingPermissions(permissions, explicit = false) {
|
missingPermissions(permissions, explicit = false) {
|
||||||
return this.missing(permissions, !explicit);
|
return this.missing(permissions, !explicit);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Data that can be resolved to give a permission number. This can be:
|
|
||||||
* * A string (see {@link Permissions.FLAGS})
|
|
||||||
* * A permission number
|
|
||||||
* @typedef {string|number|Permissions|PermissionResolvable[]} PermissionResolvable
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Data that can be resolved to give a permission number. This can be:
|
||||||
|
* * A string (see {@link Permissions.FLAGS})
|
||||||
|
* * A permission number
|
||||||
|
* @typedef {string|number|Permissions|PermissionResolvable[]} PermissionResolvable
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Numeric permission flags. All available properties:
|
* Numeric permission flags. All available properties:
|
||||||
* - `ADMINISTRATOR` (implicitly has *all* permissions, and bypasses all channel overwrites)
|
* - `ADMINISTRATOR` (implicitly has *all* permissions, and bypasses all channel overwrites)
|
||||||
|
|||||||
Reference in New Issue
Block a user