mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
typings: correct param type of SafePromisePrototypeFinally
PR-URL: https://github.com/nodejs/node/pull/54727 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Jake Yuesong Li <jake.yuesong@gmail.com>
This commit is contained in:
1 parent
b6ed97c66d
commit
b5bf08f31e
1 file changed
+1
-1
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user