mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
events: clarify JSDoc entries
Split the JSDoc entries into separate blocks. This is in preparation for enabling jsdoc/check-param-names lint rule. PR-URL: https://github.com/nodejs/node/pull/41311 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
5ed706673a
commit
43371dd5d2
1 file changed
+6
@@ -443,7 +443,13 @@ class EventTarget {
|
||||
/**
|
||||
* @callback EventTargetCallback
|
||||
* @param {Event} event
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {{ handleEvent: EventTargetCallback }} EventListener
|
||||
*/
|
||||
|
||||
/**
|
||||
* @param {string} type
|
||||
* @param {EventTargetCallback|EventListener} listener
|
||||
* @param {{
|
||||
|
||||
Reference in new issue
Block a user