Skip to content

Commit b5bf08f

Browse files
iwuliztargos
authored andcommitted
typings: correct param type of SafePromisePrototypeFinally
PR-URL: #54727 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Jake Yuesong Li <[email protected]>
1 parent b6ed97c commit b5bf08f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/per_context/primordials.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ const SafePromise = makeSafe(
461461
* rejected). The resolved value cannot be modified from the callback.
462462
* Prefer using async functions when possible.
463463
* @param {Promise<any>} thisPromise
464-
* @param {() => void) | undefined | null} onFinally The callback to execute
464+
* @param {(() => void) | undefined | null} onFinally The callback to execute
465465
* when the Promise is settled (fulfilled or rejected).
466466
* @returns {Promise} A Promise for the completion of the callback.
467467
*/

0 commit comments

Comments
 (0)