hotkeys interface supports both string and string[] for combos

This commit is contained in:
Jonathan Park committed 2015-03-03 11:15:49 -08:00
1 parent bb465f2cc7
commit c0c420cd6c
2 files changed
+6 -1

No files matched your search

+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;