Skip to content

fix(types): make on/off generic#1320

Open
Fuzzyma wants to merge 1 commit intomasterfrom
make-on-off-generic
Open

fix(types): make on/off generic#1320
Fuzzyma wants to merge 1 commit intomasterfrom
make-on-off-generic

Conversation

@Fuzzyma
Copy link
Copy Markdown
Member

@Fuzzyma Fuzzyma commented Jul 16, 2024

This PR aims to change the types of on/off so that they always reflect the correct Events.
A click handler will be typed with a mouse event while a drag handler will be typed with a drag event.

Potentially fixing #1217 once and for all :D

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