From bda681f3dc061bf8f32b330ad730466da7c3df3d Mon Sep 17 00:00:00 2001 From: sixinli Date: Fri, 30 Jun 2017 02:17:56 -0400 Subject: [PATCH] add destroy() to keypress typing this function exist in the api mentioned in https://dmauro.github.io/Keypress/ --- types/keypress/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/keypress/index.d.ts b/types/keypress/index.d.ts index edb05ee583..122095cd09 100644 --- a/types/keypress/index.d.ts +++ b/types/keypress/index.d.ts @@ -46,6 +46,7 @@ declare namespace Keypress { unregister_many(combos: Combo[]): void; unregister_many(keys: string[]): void; get_registered_combos(): Combo[]; + destroy(): void; reset(): void; listen(): void; stop_listening(): void;