Skip to content

Commit

Permalink
typings: correct param type of SafePromisePrototypeFinally
Browse files Browse the repository at this point in the history
PR-URL: nodejs#54727
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Jake Yuesong Li <[email protected]>
  • Loading branch information
iwuliz authored and louwers committed Nov 2, 2024
1 parent a6e5778 commit bc7ef96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/per_context/primordials.js
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ const SafePromise = makeSafe(
* rejected). The resolved value cannot be modified from the callback.
* Prefer using async functions when possible.
* @param {Promise<any>} thisPromise
* @param {() => void) | undefined | null} onFinally The callback to execute
* @param {(() => void) | undefined | null} onFinally The callback to execute
* when the Promise is settled (fulfilled or rejected).
* @returns {Promise} A Promise for the completion of the callback.
*/
Expand Down

0 comments on commit bc7ef96

Please sign in to comment.