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}"). */