mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +08:00
hotkeys interface supports both string and string[] for combos
This commit is contained in:
1 parent
bb465f2cc7
commit
c0c420cd6c
2 files changed
+6
-1
No files matched your search
Vendored
+1
-1
@@ -40,7 +40,7 @@ declare module ng.hotkeys {
|
||||
}
|
||||
|
||||
interface Hotkey {
|
||||
combo: string;
|
||||
combo: string | string[];
|
||||
description?: string;
|
||||
callback: (event: Event, hotkey: ng.hotkeys.Hotkey) => void;
|
||||
action?: string;
|
||||
|
||||
Reference in new issue
Block a user