File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/node_modules/@stdlib/utils/async Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ type PredicateUnary = ( error: Error ) => void;
44
44
* @param error - error object
45
45
* @param bool - condition used to determine whether to invoke callback with `x` or `y`
46
46
*/
47
- type PredicateBinary = ( error : Error , bool : boolean ) => void ;
47
+ type PredicateBinary = ( error : Error | null , bool : boolean ) => void ;
48
48
49
49
/**
50
50
* Predicate callback function.
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ type PredicateUnary = ( error: Error ) => void;
44
44
* @param error - error object
45
45
* @param bool - condition used to determine whether to invoke `x` or `y`
46
46
*/
47
- type PredicateBinary = ( error : Error , bool : boolean ) => void ;
47
+ type PredicateBinary = ( error : Error | null , bool : boolean ) => void ;
48
48
49
49
/**
50
50
* Predicate callback function.
You can’t perform that action at this time.
0 commit comments