‹ Back to reference
Event handler callback
declare type EventListener<T> = (event: Event<T>) => void | Promise<void>;