class TypedEventTarget
extends EventTarget
import { TypedEventTarget } from "https://deno.land/x/ngrok@4.0.1/deps.ts";
Methods
addEventListener<K extends keyof T & string, V extends T[K]>(): void
type: K,
listener: TypedEventListenerOrEventListenerObject<K, V> | null,
options?: AddEventListenerOptions | boolean,
dispatchEvent<K extends keyof T & string, V extends T[K]>(event: TypedCustomEvent<K, V>): boolean
removeEventListener<K extends keyof T & string, V extends T[K]>(): void
type: K,
callback: TypedEventListenerOrEventListenerObject<K, V> | null,
options?: EventListenerOptions | boolean,