mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-15 12:42:26 +08:00
Mousetrap: Type fix
This commit is contained in:
1 parent
78de7a570d
commit
04478a3486
1 file changed
+1
-1
Vendored
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user