Open bendemboski opened 1 month ago
We had {{on-window}} and {{on-document}}, but not {{on}}. These types could probably be improved by replacing EventTarget with a type argument that can be used to narrow the event map, but I didn't want to take that on right now.
{{on-window}}
{{on-document}}
{{on}}
EventTarget
We had
{{on-window}}
and{{on-document}}
, but not{{on}}
. These types could probably be improved by replacingEventTarget
with a type argument that can be used to narrow the event map, but I didn't want to take that on right now.