diff --git a/index.d.ts b/index.d.ts index 61e4c84f..7488500f 100644 --- a/index.d.ts +++ b/index.d.ts @@ -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;