Skip to content

Commit

Permalink
fix: remove invalid(/deprecated) param signature
Browse files Browse the repository at this point in the history
  • Loading branch information
rauno56 committed May 21, 2021
1 parent e7d495b commit f384d5a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,6 @@ declare namespace Router {
*/
param(name: string, handler: RequestParamHandler): this;

/**
* Alternatively, you can pass only a callback, in which case you have the opportunity to alter the app.param()
*
* @deprecated since version 4.11
*/
param(callback: (name: string, matcher: RegExp) => RequestParamHandler): this;

/**
* Special-cased "all" method, applying the given route `path`,
* middleware, and callback to _every_ HTTP method.
Expand Down

0 comments on commit f384d5a

Please sign in to comment.