diff --git a/doc/api/events.md b/doc/api/events.md index 7ddd624dd95645..68ad79e7a62d41 100644 --- a/doc/api/events.md +++ b/doc/api/events.md @@ -1548,7 +1548,7 @@ Promise.resolve().then(() => { The `EventEmitterAsyncResource` class has the same methods and takes the same options as `EventEmitter` and `AsyncResource` themselves. -### `new events.EventEmitterAsyncResource(options)` +### `new events.EventEmitterAsyncResource([options])` * `options` {Object} * `captureRejections` {boolean} It enables