Skip to content

Commit

Permalink
fix(docs): Fix jsdoc for rule function, third param can be function
Browse files Browse the repository at this point in the history
  • Loading branch information
mblarsen committed Mar 31, 2018
1 parent 3cc880f commit 034e406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class Acl {
* @access public
* @param {Array<string>|string} verbs
* @param {Function|Object|string} subject
* @param {Boolean} test=true
* @param {Boolean|Function} test=true
* @returns {Acl}
*/
rule(verbs, subject, test = true) {
Expand Down

0 comments on commit 034e406

Please sign in to comment.