Mousetrap: Type fix

This commit is contained in:
Daniel Tar
2013-01-20 15:21:00 +01:00
parent 78de7a570d
commit 04478a3486
+1 -1
View File
@@ -8,7 +8,7 @@ interface ExtendedKeyboardEvent extends KeyboardEvent {
}
interface MousetrapStatic {
stopCallback: (e: KeyboardEvent, element: Element, combo: string) => bool;
stopCallback: (e: ExtendedKeyboardEvent, element: Element, combo: string) => bool;
bind(keys: string, callback: (e: ExtendedKeyboardEvent, combo: string) => any, action?: string): void;
bind(keyArray: string[], callback: (e: ExtendedKeyboardEvent, combo: string) => any, action?: string): void;