From 90b477126dda4954b482bcf377055acefc313dc1 Mon Sep 17 00:00:00 2001 From: Jonathan Barrow Date: Tue, 3 Oct 2023 12:46:41 -0400 Subject: [PATCH] remove the use of any from express-subdomain type def --- src/types/express-subdomain.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/express-subdomain.d.ts b/src/types/express-subdomain.d.ts index 933d1f0..b4ae490 100644 --- a/src/types/express-subdomain.d.ts +++ b/src/types/express-subdomain.d.ts @@ -11,6 +11,6 @@ declare module 'express-subdomain'{ */ export default function subdomain( subdomain: string, - fn: Router | ((req: Request, res: Response) => void | any) + fn: Router ): (req: Request, res: Response, next: () => void) => void | typeof fn; } \ No newline at end of file