mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 09:41:45 +00:00
added pressedKeys
This commit is contained in:
Vendored
+3
-1
@@ -1,7 +1,8 @@
|
||||
// Type definitions for KeyboardJS v2.2.0
|
||||
// Project: https://github.com/RobertWHurst/KeyboardJS
|
||||
// Definitions by: Vincent Bortone <https://github.com/vbortone>,
|
||||
// David Asmuth <https://github.com/piranha771>
|
||||
// David Asmuth <https://github.com/piranha771>,
|
||||
// Tanasoaia Teodor <https://github.com/teoxoy>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
// KeyboardJS is a library for use in the browser (node.js compatible).
|
||||
@@ -19,6 +20,7 @@ declare namespace keyboardjs {
|
||||
*/
|
||||
interface KeyEvent extends KeyboardEvent {
|
||||
preventRepeat(): void;
|
||||
pressedKeys: string[];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user