We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f569790 + 64f0e13 commit 09e3743Copy full SHA for 09e3743
express/express.d.ts
@@ -107,7 +107,7 @@ declare module "express" {
107
use(path: string, ...handler: RequestHandler[]): T;
108
use(path: string, handler: ErrorRequestHandler): T;
109
use(path: string[], ...handler: RequestHandler[]): T;
110
- use(path: string[], handler: ErrorRequestHandler[]): T;
+ use(path: string[], handler: ErrorRequestHandler): T;
111
}
112
113
export function Router(options?: any): Router;
0 commit comments