mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Moved get(string)=>sting to Application
This commit is contained in:
Vendored
+6
-4
@@ -143,8 +143,6 @@ 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;
|
||||
@@ -177,8 +175,6 @@ 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;
|
||||
@@ -1006,6 +1002,12 @@ declare module Express {
|
||||
*/
|
||||
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
|
||||
* based on the parent(s) that have
|
||||
|
||||
Reference in New Issue
Block a user