Skip to content

Commit 268bdec

Browse files
committed
1 parent 9ed7ee7 commit 268bdec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/tryit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import type Fn from './fn'
1313
*/
1414
type Tryit<T extends Fn, E extends Error = Error> = Fn<
1515
Parameters<T>,
16-
Promise<[E, null] | [null, Awaited<ReturnType<T>>]>
16+
Promise<[err: E, result: null] | [err: null, result: Awaited<ReturnType<T>>]>
1717
>
1818

1919
export type { Tryit as default }

0 commit comments

Comments
 (0)