remove the use of any from express-subdomain type def

This commit is contained in:
Jonathan Barrow
2023-10-03 12:46:41 -04:00
parent ef67cfd2b7
commit 90b477126d

View File

@@ -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;
}