diff --git a/doc/api/events.md b/doc/api/events.md index 46bc97fb80476f..470451001753a8 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