This commit is contained in:
Amish Shah
2016-09-01 13:10:46 +01:00
parent a725147f17
commit aee547d28e
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@@ -34,8 +34,8 @@ class EvaluatedPermissions {
/**
* Checks whether a user has a certain permission, e.g. `READ_MESSAGES`.
* @param {any} permission the permission to check for
* @param {any} [explicit=false] whether the user should explicitly have the permission.
* @param {String} permission the permission to check for
* @param {Boolean} [explicit=false] whether the user should explicitly have the permission.
* @returns {Boolean}
*/
hasPermission(permission, explicit = false) {