Updated types

This commit is contained in:
Francisco Hodge 2019-04-09 20:40:14 -04:00
parent f9d594b8a0
commit efc502741e

View File

@ -66,11 +66,7 @@ declare module 'simple-keyboard' {
* *
* `{ [inputName: string]: number }`: Restrains simple-keyboards individual inputs to a certain length. This should be used in addition to the input elements maxlengthattribute. * `{ [inputName: string]: number }`: Restrains simple-keyboards individual inputs to a certain length. This should be used in addition to the input elements maxlengthattribute.
*/ */
maxLength?: maxLength?: any;
| number
| {
[inputName: string]: number;
};
/** /**
* When set to true, this option synchronizes the internal input of every simple-keyboard instance. * When set to true, this option synchronizes the internal input of every simple-keyboard instance.