Skip to content

Commit 478ee66

Browse files
authored
type: fix getAllKeyCodes return type (#466)
1 parent e7127b3 commit 478ee66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export interface Hotkeys {
148148
* ```
149149
*
150150
*/
151-
getAllKeyCodes(): Omit<HotkeysEvent, 'method' | 'key'>;
151+
getAllKeyCodes(): Omit<HotkeysEvent, 'method' | 'key'>[];
152152

153153
/**
154154
* By default hotkeys are not enabled for `INPUT` `SELECT` `TEXTAREA` elements.

0 commit comments

Comments
 (0)