Add CombinedOnSignature.

This commit is contained in:
Simon Seyock
2021-06-23 17:29:33 +02:00
committed by Andreas Hocevar
parent 25a095e489
commit 1870a64984
25 changed files with 85 additions and 32 deletions

View File

@@ -7,7 +7,7 @@ import {listen, listenOnce, unlistenByKey} from './events.js';
/***
* @template {string} Type
* @template {import("./events/Event.js").default} EventClass
* @template {Event|import("./events/Event.js").default} EventClass
* @typedef {(type: Type|Type[], listener: (event: EventClass) => (void|boolean)) => import("./events").EventsKey|Array<import("./events").EventsKey>} OnSignature
*/