Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Feb 25, 2024
1 parent 51a8a35 commit 06b8788
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion async/if-else/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ type PredicateUnary = ( error: Error ) => void;
* @param error - error object
* @param bool - condition used to determine whether to invoke callback with `x` or `y`
*/
type PredicateBinary = ( error: Error, bool: boolean ) => void;
type PredicateBinary = ( error: Error | null, bool: boolean ) => void;

/**
* Predicate callback function.
Expand Down
2 changes: 1 addition & 1 deletion async/if-then/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ type PredicateUnary = ( error: Error ) => void;
* @param error - error object
* @param bool - condition used to determine whether to invoke `x` or `y`
*/
type PredicateBinary = ( error: Error, bool: boolean ) => void;
type PredicateBinary = ( error: Error | null, bool: boolean ) => void;

/**
* Predicate callback function.
Expand Down

0 comments on commit 06b8788

Please sign in to comment.