feat: export hotkeys interface (#366)

pull/368/head
Ilya Suhodolskiy 3 years ago committed by GitHub
parent 221f58415d
commit 791cc61db7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
index.d.ts vendored

@ -18,7 +18,7 @@ type Options = {
splitKey?: string;
}
interface Hotkeys {
export interface Hotkeys {
(key: string, method: KeyHandler): void;
(key: string, scope: string, method: KeyHandler): void;
(key: string, options: Options, method: KeyHandler): void;

Loading…
Cancel
Save