Add native Event to ListenerFunction signature.
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ import {clear} from './obj.js';
|
|||||||
* Listener function. This function is called with an event object as argument.
|
* Listener function. This function is called with an event object as argument.
|
||||||
* When the function returns `false`, event propagation will stop.
|
* When the function returns `false`, event propagation will stop.
|
||||||
*
|
*
|
||||||
* @typedef {function(import("./events/Event.js").default): (void|boolean)} ListenerFunction
|
* @typedef {function(Event|import("./events/Event.js").default): (void|boolean)} ListenerFunction
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user