docs: Small doc improvement for PermissionOverwrites (#1964)

Just so people know what the possible types are.
This commit is contained in:
Frangu Vlad
2017-09-24 18:23:41 +03:00
committed by Crawl
parent dca0bac444
commit 26c978c465

View File

@@ -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;