From 01efa93a2d5ad0dbb4cc63c814330750c4d378d1 Mon Sep 17 00:00:00 2001 From: Darshan Sen Date: Mon, 12 Jun 2023 18:50:08 +0530 Subject: [PATCH] doc: fix typo in events.md Signed-off-by: Darshan Sen --- 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 e443c2162c8e64..ffeabe2fb53860 100644 --- a/doc/api/events.md +++ b/doc/api/events.md @@ -1880,8 +1880,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`