Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9fe304b

Browse filesBrowse 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 <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 3e188ca commit 9fe304b
Copy full SHA for 9fe304b

File tree

Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed
Open diff view settings
Collapse file

‎lib/internal/event_target.js‎

Copy file name to clipboardExpand all lines: lib/internal/event_target.js
+6Lines changed: 6 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.