W3cubDocs

/Deno

EventListener

interface EventListener {
(evt: Event): void | Promise<void>;
}

Call Signatures

(evt: Event): void | Promise<void>

© 2018–2021 the Deno authors
https://doc.deno.land/deno/stable/~/EventListener