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 a47d21d2ad831de89b8c2af5def90212d74f5056
2 changes: 1 addition & 1 deletion doc/api/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ listener. The `eventEmitter.on()` method is used to register listeners, while
the `eventEmitter.emit()` method is used to trigger the event.

```mjs
import EventEmitter from 'node:events';
import { EventEmitter } from 'node:events';

class MyEmitter extends EventEmitter {}

Expand Down