Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add {{on}} helper type definition #93

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bendemboski
Copy link
Contributor

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.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant