The event's type as source text: the constructor with its detail payload when known (CustomEvent<{ value: number }>), otherwise the bare constructor.
CustomEvent<{ value: number }>
The event's type as source text: the constructor with its detail payload when known (
CustomEvent<{ value: number }>), otherwise the bare constructor.