renamed 'next' intarface to 'Next'

This commit is contained in:
Václav Oborník
2014-03-09 06:23:11 +01:00
parent 5eaf82aa6a
commit f788ac6ca4
+2 -2
View File
@@ -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;