v5.0.0
This release affects only type definitions for TypeScript but doesn't change any implementation.
Breaking changes
77fb6209...a3774a59
changed type definition. In new definition, we can specify arbitaryEvent
type for each event with type parameters. It generate specialized types foraddEventListener
,removeEventListener
,dispatchEvent
, and event attributes such asonclick
. See also https://github.com/mysticatea/event-target-shim#typescript