From 58c9d4475b00552666e903a05555effa3c8c5bba Mon Sep 17 00:00:00 2001 From: iwuliz Date: Tue, 3 Sep 2024 14:54:27 +0930 Subject: [PATCH] typings: correct typings in SafePromisePrototypeFinally --- lib/internal/per_context/primordials.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/per_context/primordials.js b/lib/internal/per_context/primordials.js index 89b8b0483c8af9..6a31f17fb863cb 100644 --- a/lib/internal/per_context/primordials.js +++ b/lib/internal/per_context/primordials.js @@ -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} 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. */