From f9545880a43297efb5023df915be0bec0f13932c Mon Sep 17 00:00:00 2001 From: Mickael Burguet Date: Tue, 26 Jul 2016 11:34:09 -0400 Subject: [PATCH] [restify] Next handler - Change ifError to optional --- restify/restify.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restify/restify.d.ts b/restify/restify.d.ts index fdb64f5e34..d8e1a37576 100644 --- a/restify/restify.d.ts +++ b/restify/restify.d.ts @@ -500,7 +500,7 @@ declare module "restify" { interface Next { (err?: any): any; - ifError: (err?: any) => any; + ifError?: (err?: any) => any; } interface RequestHandler {