Skip to content

Commit 9b19114

Browse files
committed
doc: fix casing in util.markPromiseAsHandled section
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: #66206 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent ee84a36 commit 9b19114

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎doc/api/util.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1904,7 +1904,7 @@ equality.
19041904
added: v26.10.0
19051905
-->
19061906

1907-
* `promise` {promise} The promise to mark as handled
1907+
* `promise` {Promise} The promise to mark as handled
19081908

19091909
Marks a promise as handled so that unhandled rejections are ignored and are not
19101910
reported to the `'unhandledrejection'` event.

0 commit comments

Comments
 (0)