mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-15 14:30:22 +00:00
add explicit any type for error handler parameter (since any type can be thrown in JS)
This commit is contained in:
Vendored
+1
-1
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user