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 Jul 19, 2023
1 parent 053401e commit f52ecbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion try-then/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ type ErrorHandler<T> = Nullary<T> | Unary<T>;
* var z = trythen( x, y );
* // returns <number>
*/
declare function trythen<T>( x: () => T, y: ErrorHandler<T> ): T;
declare function trythen<T, U>( x: () => T, y: ErrorHandler<U> ): T | U;


// EXPORTS //
Expand Down

0 comments on commit f52ecbe

Please sign in to comment.