hotkeys interface supports both string and string[] for combos

This commit is contained in:
Jonathan Park
2015-03-03 11:15:49 -08:00
parent bb465f2cc7
commit c0c420cd6c
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -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;