add explicit any type for error handler parameter (since any type can be thrown in JS)

This commit is contained in:
Joe Skeen 2015-08-21 09:26:23 -06:00
parent 58fe0b0e72
commit 4e950fdf8c

View File

@ -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 */