diff --git a/express/express.d.ts b/express/express.d.ts index 786ef57a44..562dbf3013 100644 --- a/express/express.d.ts +++ b/express/express.d.ts @@ -978,6 +978,12 @@ declare module "express" { * @param val */ set (setting: string, val: string): Application; + + get(name: string): string; + + get(name: string, ...handlers: RequestFunction[]): Application; + + get(name: RegExp, ...handlers: RequestFunction[]): Application; /** * Return the app's absolute pathname