From f788ac6ca45061c34ff5fd3671a792f3432aafa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Oborn=C3=ADk?= Date: Sun, 9 Mar 2014 06:23:11 +0100 Subject: [PATCH] renamed 'next' intarface to 'Next' --- restify/restify.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/restify/restify.d.ts b/restify/restify.d.ts index ca047e17d..2afacc520 100644 --- a/restify/restify.d.ts +++ b/restify/restify.d.ts @@ -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;