Skip to content

Commit 431991c

Browse files
committed
doc: update eventName type annotations for rawListeners
1 parent 6dbe6d4 commit 431991c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/events.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ Returns a reference to the `EventEmitter`, so that calls can be chained.
578578
<!-- YAML
579579
added: REPLACEME
580580
-->
581-
- `eventName` {any}
581+
- `eventName` {string|symbol}
582582

583583
Returns a copy of the array of listeners for the event named `eventName`,
584584
including any wrappers (such as those created by `.once`).

0 commit comments

Comments
 (0)