Skip to content

Commit f384d5a

Browse files
committed
fix: remove invalid(/deprecated) param signature
1 parent e7d495b commit f384d5a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

index.d.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,6 @@ declare namespace Router {
8484
*/
8585
param(name: string, handler: RequestParamHandler): this;
8686

87-
/**
88-
* Alternatively, you can pass only a callback, in which case you have the opportunity to alter the app.param()
89-
*
90-
* @deprecated since version 4.11
91-
*/
92-
param(callback: (name: string, matcher: RegExp) => RequestParamHandler): this;
93-
9487
/**
9588
* Special-cased "all" method, applying the given route `path`,
9689
* middleware, and callback to _every_ HTTP method.

0 commit comments

Comments
 (0)