From 04478a348668ad1c9a26ce109a01fe17dfd6c252 Mon Sep 17 00:00:00 2001 From: Daniel Tar Date: Sun, 20 Jan 2013 15:21:00 +0100 Subject: [PATCH] Mousetrap: Type fix --- mousetrap/mousetrap.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mousetrap/mousetrap.d.ts b/mousetrap/mousetrap.d.ts index d404eeca7..a5da600b2 100644 --- a/mousetrap/mousetrap.d.ts +++ b/mousetrap/mousetrap.d.ts @@ -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;