From d136e288cce89d4e48e860599be8302a9d342a24 Mon Sep 17 00:00:00 2001 From: Christopher Altonji Date: Tue, 28 Nov 2017 14:17:42 -0800 Subject: [PATCH] Added keyboard event as parameter to the callback of bind in combokeys --- types/combokeys/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/combokeys/index.d.ts b/types/combokeys/index.d.ts index f7e1e5b035..24f3313582 100644 --- a/types/combokeys/index.d.ts +++ b/types/combokeys/index.d.ts @@ -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; /**