type: fix getAllKeyCodes return type (#466)

pull/469/head
Leonid Fedorov 1 year ago committed by GitHub
parent e7127b3f8d
commit 478ee66989
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
index.d.ts vendored

@ -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. * By default hotkeys are not enabled for `INPUT` `SELECT` `TEXTAREA` elements.

Loading…
Cancel
Save