interface dom.CustomEvent implements Eventimport { type dom } from "https://deno.land/x/evt@v2.4.11/lib/index.ts"; const { CustomEvent } = dom; Type ParametersoptionalT = anyPropertiesreadonlydetail: TReturns any custom data event was created with. Typically used for synthetic events. MethodsinitCustomEvent(typeArg: string,canBubbleArg: boolean,cancelableArg: boolean,detailArg: T,): void