doc: change eventName type annotations
Change type annotations for eventName in events API doc
from {any} to {string|symbol}.
PR-URL: https://github.com/nodejs/node/pull/17666
Fixes: https://github.com/nodejs/node/issues/17657
Reviewed-By:
Anna Henningsen <anna@addaleax.net>
Reviewed-By:
Jon Moss <me@jonathanmoss.me>
Reviewed-By:
Timothy Gu <timothygu99@gmail.com>
Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
Reviewed-By:
James M Snell <jasnell@gmail.com>
Reviewed-By:
Evan Lucas <evanlucas@me.com>
Reviewed-By:
Luigi Pinca <luigipinca@gmail.com>
Reviewed-By:
Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By:
Ruben Bridgewater <ruben@bridgewater.de>
parent
1fa59b4c
Please register or sign in to comment