Skip to content

Commit

Permalink
doc: fix typo in events.md
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
RaisinTen authored and RafaelGSS committed Jul 3, 2023
1 parent 6591826 commit 3a62994
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/api/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -1878,8 +1878,7 @@ same options as `EventEmitter` and `AsyncResource` themselves.
* `captureRejections` {boolean} It enables
[automatic capturing of promise rejection][capturerejections].
**Default:** `false`.
* `name` {string} The type of async event. **Default::**
[`new.target.name`][].
* `name` {string} The type of async event. **Default:** [`new.target.name`][].
* `triggerAsyncId` {number} The ID of the execution context that created this
async event. **Default:** `executionAsyncId()`.
* `requireManualDestroy` {boolean} If set to `true`, disables `emitDestroy`
Expand Down

0 comments on commit 3a62994

Please sign in to comment.