Skip to content

Commit c864aed

Browse files
committed
- Added regexp to express3 verb
1 parent e3fae1f commit c864aed

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

express3.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ declare module "express3" {
4444
post(path:String, callback:(req: Request, res: Response) => void);
4545
all(path:String, callback:(req: Request, res: Response) => void);
4646

47+
get(path:RegExp, callback:(req: Request, res: Response) => void);
48+
post(path:RegExp, callback:(req: Request, res: Response) => void);
49+
all(path:RegExp, callback:(req: Request, res: Response) => void);
50+
4751
locals: any;
4852

4953
render(view: String, options: any, callback: (err, html) => void);

0 commit comments

Comments
 (0)