Skip to content

Commit

Permalink
fix: update jsdoc block to include correct example (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedWagih authored Dec 7, 2022
1 parent 5bb22a5 commit 48698e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/until.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export type AsyncTuple<
/**
* Gracefully handles a given Promise factory.
* @example
* const [error, data] = await until(() => asyncAction())
* const { error, data } = await until(() => asyncAction())
*/
export const until = async <
ErrorType extends any = Error,
Expand Down

0 comments on commit 48698e2

Please sign in to comment.