mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
renamed 'next' intarface to 'Next'
This commit is contained in:
Vendored
+2
-2
@@ -152,12 +152,12 @@ declare module "restify" {
|
||||
overrides?: Object;
|
||||
}
|
||||
|
||||
interface next {
|
||||
interface Next {
|
||||
(err?: any): any;
|
||||
}
|
||||
|
||||
interface RequestHandler {
|
||||
(req: Request, res: Response, next: next): any;
|
||||
(req: Request, res: Response, next: Next): any;
|
||||
}
|
||||
|
||||
export function createServer(options?: ServerOptions): Server;
|
||||
|
||||
Reference in New Issue
Block a user