Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update doc/api/events.md
Co-authored-by: James M Snell <jasnell@gmail.com>
  • Loading branch information
F3n67u and jasnell authored Jun 12, 2022
commit 07652b72fd375937e1aec5a04a08cd3b6ec195de
2 changes: 1 addition & 1 deletion doc/api/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ Setting `events.captureRejections = true` will change the default for all
new instances of `EventEmitter`.

```mjs
import events from 'node:events';
import * as events from 'node:events';

events.captureRejections = true;
Comment thread
F3n67u marked this conversation as resolved.
Outdated
const ee1 = new events.EventEmitter();
Expand Down