From daa12d74b1c2f4e711500fcdd8943726a928cf85 Mon Sep 17 00:00:00 2001 From: yortus Date: Mon, 31 Mar 2014 16:04:21 +0800 Subject: [PATCH] Re-added get(string):string to express --- express/express.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/express/express.d.ts b/express/express.d.ts index 2f1bdeee2..674975da8 100644 --- a/express/express.d.ts +++ b/express/express.d.ts @@ -143,6 +143,8 @@ declare module Express { all(path: string, ...callbacks: Function[]): void; + get(name: string): string; + get(name: string, ...handlers: RequestFunction[]): T; get(name: RegExp, ...handlers: RequestFunction[]): T; @@ -175,6 +177,8 @@ declare module Express { all(path: string, ...callbacks: Function[]): void; + get(name: string): string; + get(name: string, ...handlers: RequestFunction[]): Router; get(name: RegExp, ...handlers: RequestFunction[]): Router;