Skip to content

Commit ffece88

Browse files
RaisinTenruyadorno
authored andcommitted
doc: fix typo in events.md
Signed-off-by: Darshan Sen <raisinten@gmail.com> PR-URL: #48436 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 6c72622 commit ffece88

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/api/events.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1878,8 +1878,7 @@ same options as `EventEmitter` and `AsyncResource` themselves.
18781878
* `captureRejections` {boolean} It enables
18791879
[automatic capturing of promise rejection][capturerejections].
18801880
**Default:** `false`.
1881-
* `name` {string} The type of async event. **Default::**
1882-
[`new.target.name`][].
1881+
* `name` {string} The type of async event. **Default:** [`new.target.name`][].
18831882
* `triggerAsyncId` {number} The ID of the execution context that created this
18841883
async event. **Default:** `executionAsyncId()`.
18851884
* `requireManualDestroy` {boolean} If set to `true`, disables `emitDestroy`

0 commit comments

Comments
 (0)