From 21fa732b1fccbb19eaaae9f5a7833860d2e1f8e9 Mon Sep 17 00:00:00 2001 From: Francisco Hodge Date: Thu, 24 Jan 2019 23:03:23 -0500 Subject: [PATCH] Types update --- src/lib/@types/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/@types/index.d.ts b/src/lib/@types/index.d.ts index 39f66215..fd065213 100644 --- a/src/lib/@types/index.d.ts +++ b/src/lib/@types/index.d.ts @@ -106,6 +106,11 @@ declare module 'simple-keyboard' { */ disableCaretPositioning?: boolean; + /** + * Restrains input(s) change to the defined regular expression pattern. + */ + inputPattern?: any; + /** * Executes the callback function on key press. Returns button layout name (i.e.: "{shift}"). */