From 4e950fdf8cbd5a8b001be640046f98935c08ce61 Mon Sep 17 00:00:00 2001 From: Joe Skeen Date: Fri, 21 Aug 2015 09:26:23 -0600 Subject: [PATCH] add explicit any type for error handler parameter (since any type can be thrown in JS) --- gulp-plumber/gulp-plumber.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulp-plumber/gulp-plumber.d.ts b/gulp-plumber/gulp-plumber.d.ts index 0301affd62..693c4cbf93 100644 --- a/gulp-plumber/gulp-plumber.d.ts +++ b/gulp-plumber/gulp-plumber.d.ts @@ -41,7 +41,7 @@ declare module 'gulp-plumber' { /** an error handler function to be attached to the stream on('error') */ interface ErrorHandlerFunction { /** an error handler function to be attached to the stream on('error') */ - (error): void; + (error: any): void; } /** Prevent pipe breaking caused by errors from gulp plugins */