From ffece8845252a9afbd39096b2239d843e6ab575f Mon Sep 17 00:00:00 2001 From: Darshan Sen Date: Mon, 12 Jun 2023 21:45:04 +0530 Subject: [PATCH] doc: fix typo in events.md Signed-off-by: Darshan Sen PR-URL: https://github.com/nodejs/node/pull/48436 Reviewed-By: Colin Ihrig Reviewed-By: Moshe Atlow Reviewed-By: Luigi Pinca --- doc/api/events.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/api/events.md b/doc/api/events.md index e52758194b8ff3..778c97bfb483e7 100644 --- a/doc/api/events.md +++ b/doc/api/events.md @@ -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`