mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
Mousetrap global-bind plugin should match upstream
The official Mousetrap global-bind plugin uses bindGlobal as method name. See https://github.com/ccampbell/mousetrap/tree/master/plugins/global-bind
This commit is contained in:
Vendored
+2
-2
@@ -6,6 +6,6 @@
|
||||
/// <reference path="./mousetrap.d.ts" />
|
||||
|
||||
interface MousetrapStatic {
|
||||
globalBind(keys: string, callback: (e: ExtendedKeyboardEvent, combo: string) => any, action?: string): void;
|
||||
globalBind(keyArray: string[], callback: (e: ExtendedKeyboardEvent, combo: string) => any, action?: string): void;
|
||||
bindGlobal(keys: string, callback: (e: ExtendedKeyboardEvent, combo: string) => any, action?: string): void;
|
||||
bindGlobal(keyArray: string[], callback: (e: ExtendedKeyboardEvent, combo: string) => any, action?: string): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user