mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
add explicit any type for error handler parameter (since any type can be thrown in JS)
This commit is contained in:
parent
58fe0b0e72
commit
4e950fdf8c
2
gulp-plumber/gulp-plumber.d.ts
vendored
2
gulp-plumber/gulp-plumber.d.ts
vendored
@ -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 */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user