diff --git a/express-serve-static-core/index.d.ts b/express-serve-static-core/index.d.ts index a4ce9612e7..25f9c6787c 100644 --- a/express-serve-static-core/index.d.ts +++ b/express-serve-static-core/index.d.ts @@ -858,7 +858,7 @@ interface RequestParamHandler { (req: Request, res: Response, next: NextFunction, value: any, name: string): any; } -type ApplicaitonRequestHandler = IRouterHandler & IRouterMatcher & { +type ApplicationRequestHandler = IRouterHandler & IRouterMatcher & { (...handlers: RequestHandlerParams[]): T; };