From c58cf137a332f2fd8999d830f0ed6184a10fc329 Mon Sep 17 00:00:00 2001 From: Rauno Viskus Date: Sun, 16 May 2021 09:19:39 +0300 Subject: [PATCH] fix: remove invalid(/deprecated) param signature --- index.d.ts | 7 ------- 1 file changed, 7 deletions(-) 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.