diff --git a/doc/api/events.md b/doc/api/events.md index 817cf73fbdcc3d..8dcb8ebfed55cf 100644 --- a/doc/api/events.md +++ b/doc/api/events.md @@ -1803,7 +1803,7 @@ const emitter = new EventEmitter(); setMaxListeners(5, target, emitter); ``` -## `events.addAbortListener(signal, resource)` +## `events.addAbortListener(signal, listener)`