Skip to content

Commit

Permalink
typings: correct param type of SafePromisePrototypeFinally
Browse files Browse the repository at this point in the history
PR-URL: #54727
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Jake Yuesong Li <[email protected]>
  • Loading branch information
iwuliz authored and targos committed Sep 26, 2024
1 parent d75904e commit a302242
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 @@ -461,7 +461,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 a302242

Please sign in to comment.