interface dom.CustomEvent implements Eventimport { type dom } from "https://deno.land/x/evt@v2.5.2/lib/types/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