mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01:00
docs: Small doc improvement for PermissionOverwrites (#1964)
Just so people know what the possible types are.
This commit is contained in:
@@ -23,9 +23,16 @@ class PermissionOverwrites {
|
|||||||
*/
|
*/
|
||||||
this.id = data.id;
|
this.id = data.id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The type of a permission overwrite. It can be one of:
|
||||||
|
* * member
|
||||||
|
* * role
|
||||||
|
* @typedef {string} OverwriteType
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The type of this overwrite
|
* The type of this overwrite
|
||||||
* @type {string}
|
* @type {OverwriteType}
|
||||||
*/
|
*/
|
||||||
this.type = data.type;
|
this.type = data.type;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user