mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
express: implicity any and formatting
This commit is contained in:
Vendored
+8
-4
@@ -778,7 +778,7 @@ declare module "express" {
|
||||
*/
|
||||
|
||||
render(view: string, options?: Object, callback?: (err: Error, html: string) => void ): void;
|
||||
|
||||
|
||||
render(view: string, callback?: (err: Error, html: string) => void ): void;
|
||||
|
||||
locals: any;
|
||||
@@ -1026,20 +1026,24 @@ declare module "express" {
|
||||
* @param options or fn
|
||||
* @param fn
|
||||
*/
|
||||
render(name: string, options?: Object, callback?: (err: Error, html: string) => void);
|
||||
|
||||
render(name: string, callback: (err: Error, html: string) => void);
|
||||
render(name: string, options?: Object, callback?: (err: Error, html: string) => void): void;
|
||||
|
||||
render(name: string, callback: (err: Error, html: string) => void): void;
|
||||
|
||||
get(name: string, ...handlers: RequestFunction[]): any;
|
||||
|
||||
get(name: RegExp, ...handlers: RequestFunction[]): any;
|
||||
|
||||
post(name: string, ...handlers: RequestFunction[]): any;
|
||||
|
||||
post(name: RegExp, ...handlers: RequestFunction[]): any;
|
||||
|
||||
put(name: string, ...handlers: RequestFunction[]): any;
|
||||
|
||||
put(name: RegExp, ...handlers: RequestFunction[]): any;
|
||||
|
||||
del(name: string, ...handlers: RequestFunction[]): any;
|
||||
|
||||
del(name: RegExp, ...handlers: RequestFunction[]): any;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user