mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Correcting array error
When I added string array to the path parameter on use, I accidentally added ErrorRequestHandler array too. It's not removed.
This commit is contained in:
parent
6f6e5c7dd9
commit
64f0e13df8
2
express/express.d.ts
vendored
2
express/express.d.ts
vendored
@ -107,7 +107,7 @@ declare module "express" {
|
||||
use(path: string, ...handler: RequestHandler[]): T;
|
||||
use(path: string, handler: ErrorRequestHandler): T;
|
||||
use(path: string[], ...handler: RequestHandler[]): T;
|
||||
use(path: string[], handler: ErrorRequestHandler[]): T;
|
||||
use(path: string[], handler: ErrorRequestHandler): T;
|
||||
}
|
||||
|
||||
export function Router(options?: any): Router;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user