mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Merge pull request #6749 from mmouterde/patch-1
Missing signature for router.use
This commit is contained in:
Vendored
+1
@@ -110,6 +110,7 @@ declare module "express" {
|
||||
use(path: string[], handler: ErrorRequestHandler): T;
|
||||
use(path: RegExp, ...handler: RequestHandler[]): T;
|
||||
use(path: RegExp, handler: ErrorRequestHandler): T;
|
||||
use(path:string, router:Router): T;
|
||||
}
|
||||
|
||||
export function Router(options?: any): Router;
|
||||
|
||||
Reference in New Issue
Block a user