diff --git a/index.d.ts b/index.d.ts index 336b6ae..c53527e 100644 --- a/index.d.ts +++ b/index.d.ts @@ -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.