Skip to content

Commit

Permalink
Typos in parser’s description
Browse files Browse the repository at this point in the history
  • Loading branch information
dinoboff committed Dec 4, 2016
1 parent 946e934 commit 94eb7d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/parser/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ class Rule {
* some expression types are not supported or have stricker rule regarding
* types they support.
*
* For type checking is left for runtime evaluation when the type cannot be
* inferred (snapshot value and auth properties).
* Some expression allow type checking to be delayed untill runtime evaluation
* when the type cannot be inferred (snapshot value and auth properties).
*
* @param {string} rule Rule to parse
* @param {array<string>} wildchildren List of wildchildren available
* @param {Boolean} isWrite Is rule meant for a write operation
* @return {toString: function(): string, evaluate: function(object): any, inferredType: string}
* @return {Rule}
*/
exports.parse = function(rule, wildchildren, isWrite) {
return new Rule(rule, wildchildren, isWrite);
Expand Down

0 comments on commit 94eb7d4

Please sign in to comment.