mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-05 12:20:07 +08:00
add explicit any type for error handler parameter (since any type can be thrown in JS)
This commit is contained in:
1 parent
58fe0b0e72
commit
4e950fdf8c
1 file changed
+1
-1
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