mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-02 08:10:05 +00:00
Merge pull request #5786 from kpisaksen/patch-1
Include Arrays in use method
This commit is contained in:
2
express/express.d.ts
vendored
2
express/express.d.ts
vendored
@@ -106,6 +106,8 @@ declare module "express" {
|
||||
use(handler: ErrorRequestHandler): T;
|
||||
use(path: string, ...handler: RequestHandler[]): T;
|
||||
use(path: string, handler: ErrorRequestHandler): T;
|
||||
use(path: string[], ...handler: RequestHandler[]): T;
|
||||
use(path: string[], handler: ErrorRequestHandler[]): T;
|
||||
}
|
||||
|
||||
export function Router(options?: any): Router;
|
||||
|
||||
Reference in New Issue
Block a user