You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
marcoroth
changed the title
useHotkeys does not pass HotkeysEvent as argument to a handler.useHotkeys: does not pass HotkeysEvent as argument to a handler.
Aug 6, 2022
This is probably somehow related to #177
Setting up handler as this https://github.com/stimulus-use/stimulus-use/blob/main/src/use-hotkeys/use-hotkeys.ts#L46 causes that both arguments are
KeyboardEvent
while it's expected to beevent: KeyboardEvent, handler: HotkeysEvent
The text was updated successfully, but these errors were encountered: