Merge pull request #21813 from caltonji/master

[combokeys]: Added keyboard event as parameter to the callback of bind
This commit is contained in:
Armando Aguirre
2017-11-29 18:17:04 -08:00
committed by GitHub
+1 -1
View File
@@ -35,7 +35,7 @@ declare namespace Combokeys {
* @param {handler} optional - one of "keypress", "keydown", or "keyup"
* @returns void
*/
bind(keys: string | string[], callback: () => void, action?: string): void;
bind(keys: string | string[], callback: (event: KeyboardEvent) => void, action?: string): void;
/**