From 26c978c4654624af5090dc4637c8dc979fbb6c90 Mon Sep 17 00:00:00 2001 From: Frangu Vlad Date: Sun, 24 Sep 2017 18:23:41 +0300 Subject: [PATCH] docs: Small doc improvement for PermissionOverwrites (#1964) Just so people know what the possible types are. --- src/structures/PermissionOverwrites.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/structures/PermissionOverwrites.js b/src/structures/PermissionOverwrites.js index f9e7d4220..9716b6cbb 100644 --- a/src/structures/PermissionOverwrites.js +++ b/src/structures/PermissionOverwrites.js @@ -23,9 +23,16 @@ class PermissionOverwrites { */ 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 - * @type {string} + * @type {OverwriteType} */ this.type = data.type;