Skip to content

Commit 09e3743

Browse files
committed
Merge pull request DefinitelyTyped#5862 from kpisaksen/patch-1
Correcting array error
2 parents f569790 + 64f0e13 commit 09e3743

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

express/express.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ declare module "express" {
107107
use(path: string, ...handler: RequestHandler[]): T;
108108
use(path: string, handler: ErrorRequestHandler): T;
109109
use(path: string[], ...handler: RequestHandler[]): T;
110-
use(path: string[], handler: ErrorRequestHandler[]): T;
110+
use(path: string[], handler: ErrorRequestHandler): T;
111111
}
112112

113113
export function Router(options?: any): Router;

0 commit comments

Comments
 (0)