Skip to content

Commit

Permalink
nit: corrected JSDoc SafePromise link
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Jan 20, 2024
1 parent 789d97c commit d8db4cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/toolkit/src/tsHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export type SafePromise<T> = Promise<T> & {
}

/**
* Properly wraps a Promise as a @link {SafePromise} with .catch(fallback).
* Properly wraps a Promise as a {@link SafePromise} with .catch(fallback).
*/
export function asSafePromise<Resolved, Rejected>(
promise: Promise<Resolved>,
Expand Down

0 comments on commit d8db4cb

Please sign in to comment.