mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-17 07:20:23 +00:00
Use regexp in use
This commit is contained in:
Vendored
+2
@@ -108,6 +108,8 @@ declare module "express" {
|
||||
use(path: string, handler: ErrorRequestHandler): T;
|
||||
use(path: string[], ...handler: RequestHandler[]): T;
|
||||
use(path: string[], handler: ErrorRequestHandler): T;
|
||||
use(path: RegExp, ...handler: RequestHandler[]): T;
|
||||
use(path: RegExp, handler: ErrorRequestHandler): T;
|
||||
}
|
||||
|
||||
export function Router(options?: any): Router;
|
||||
|
||||
Reference in New Issue
Block a user