From f52ecbe537156bcd4f93583ef074290bcda9246f Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Wed, 19 Jul 2023 01:27:20 +0000 Subject: [PATCH] Auto-generated commit --- try-then/docs/types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/try-then/docs/types/index.d.ts b/try-then/docs/types/index.d.ts index 0d9e3a5d..fc52b789 100644 --- a/try-then/docs/types/index.d.ts +++ b/try-then/docs/types/index.d.ts @@ -72,7 +72,7 @@ type ErrorHandler = Nullary | Unary; * var z = trythen( x, y ); * // returns */ -declare function trythen( x: () => T, y: ErrorHandler ): T; +declare function trythen( x: () => T, y: ErrorHandler ): T | U; // EXPORTS //