CustomEvent

constructor(type: EventType<CustomEvent<D>>, init: CustomEventInit<D> = definedExternally)(source)