Skip to content

Commit

Permalink
Update Middleware module docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zajrik committed Jul 1, 2017
1 parent 1b80ef7 commit 8057ccf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/command/middleware/Middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export class Middleware
* Supports `'...'` in the argument name as the final argument to gather
* all remaining words into one string and attempt to resolve them to
* the provided argument type
* @static
* @method resolve
* @param {object} argTypes An object of argument names mapped to argument types<br>
* See: {@link ResolveArgType}
Expand Down Expand Up @@ -58,6 +59,7 @@ export class Middleware
* use the `User` type. If verifying `Duration` type, `Number` should be used.
*
* This middleware does not modify args in any way.
* @static
* @method expect
* @param {object} argTypes An object of argument names mapped to argument types<br>
* See: {@link ExpectArgType}
Expand All @@ -75,6 +77,7 @@ export class Middleware
* like `expect` or `resolve` because those are based around user input whereas
* this should be handled after user input related things as to not interfere
* with the other middleware and their input
* @static
* @method localize
* @returns {MiddlewareFunction}
*/
Expand Down

0 comments on commit 8057ccf

Please sign in to comment.