Skip to content

Commit 071dff1

Browse files
iwulizaduh95
authored andcommitted
typings: correct param type of SafePromisePrototypeFinally
PR-URL: #54727 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
1 parent 1c7bdf9 commit 071dff1

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
@@ -462,7 +462,7 @@ const SafePromise = makeSafe(
462462
* rejected). The resolved value cannot be modified from the callback.
463463
* Prefer using async functions when possible.
464464
* @param {Promise<any>} thisPromise
465-
* @param {() => void) | undefined | null} onFinally The callback to execute
465+
* @param {(() => void) | undefined | null} onFinally The callback to execute
466466
* when the Promise is settled (fulfilled or rejected).
467467
* @returns {Promise} A Promise for the completion of the callback.
468468
*/

0 commit comments

Comments
 (0)