mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
Added keyboard event as parameter to the callback of bind in combokeys
This commit is contained in:
2
types/combokeys/index.d.ts
vendored
2
types/combokeys/index.d.ts
vendored
@@ -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;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user