mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
Fix activeKeys declaration
This commit is contained in:
2
keyboardjs/keyboardjs-0.4.1.d.ts
vendored
2
keyboardjs/keyboardjs-0.4.1.d.ts
vendored
@@ -32,7 +32,7 @@ interface KeyboardJSLocale {
|
||||
interface KeyboardJSStatic {
|
||||
enable(): void;
|
||||
disable(): void;
|
||||
activeKeys() string[];
|
||||
activeKeys(): string[];
|
||||
on(keyCombo:string, onDownCallback?: (keyEvent: Event, keysPressed: string[], keyCombo: string) => {}, onUpCallback?: (keyEvent: Event, keysPressed: string[], keyCombo: string) => {}): KeyboardJSBinding;
|
||||
clear(keyCombo: string): void;
|
||||
clear.key(keyName: string): void;
|
||||
|
||||
Reference in New Issue
Block a user