Skip to content

Commit 9fe304b

Browse files
Trotttargos
authored andcommitted
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: #41311 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 3e188ca commit 9fe304b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/internal/event_target.js

+6
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,13 @@ class EventTarget {
443443
/**
444444
* @callback EventTargetCallback
445445
* @param {Event} event
446+
*/
447+
448+
/**
446449
* @typedef {{ handleEvent: EventTargetCallback }} EventListener
450+
*/
451+
452+
/**
447453
* @param {string} type
448454
* @param {EventTargetCallback|EventListener} listener
449455
* @param {{

0 commit comments

Comments
 (0)