From b07dcf2ddcdbe7430886402c7ff3410acbe3be10 Mon Sep 17 00:00:00 2001 From: Teoxoy <28601907+Teoxoy@users.noreply.github.com> Date: Wed, 19 Sep 2018 17:36:05 +0200 Subject: [PATCH] added pressedKeys --- types/keyboardjs/index.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/types/keyboardjs/index.d.ts b/types/keyboardjs/index.d.ts index 008083e774..171e2d9c10 100644 --- a/types/keyboardjs/index.d.ts +++ b/types/keyboardjs/index.d.ts @@ -1,7 +1,8 @@ // Type definitions for KeyboardJS v2.2.0 // Project: https://github.com/RobertWHurst/KeyboardJS // Definitions by: Vincent Bortone , -// David Asmuth +// David Asmuth , +// Tanasoaia Teodor // 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[]; } /**