Skip to content

Commit

Permalink
type: fix getAllKeyCodes return type (#466)
Browse files Browse the repository at this point in the history
  • Loading branch information
angryermine authored Dec 19, 2023
1 parent e7127b3 commit 478ee66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export interface Hotkeys {
* ```
*
*/
getAllKeyCodes(): Omit<HotkeysEvent, 'method' | 'key'>;
getAllKeyCodes(): Omit<HotkeysEvent, 'method' | 'key'>[];

/**
* By default hotkeys are not enabled for `INPUT` `SELECT` `TEXTAREA` elements.
Expand Down

0 comments on commit 478ee66

Please sign in to comment.