fix(all): strong type text fields

This commit is contained in:
Manu Mtz.-Almeida
2018-07-29 14:32:28 +02:00
parent d65174bcf3
commit 1d001a3f29
6 changed files with 24 additions and 18 deletions

View File

@ -79,6 +79,7 @@ import {
StyleEvent,
TabbarLayout,
TabbarPlacement,
TextFieldTypes,
ToastOptions,
TransitionDoneFn,
TransitionInstruction,
@ -2862,7 +2863,7 @@ declare global {
/**
* The type of control to display. The default type is text. Possible values are: `"text"`, `"password"`, `"email"`, `"number"`, `"search"`, `"tel"`, or `"url"`.
*/
'type': string;
'type': TextFieldTypes;
/**
* The value of the input.
*/
@ -3024,7 +3025,7 @@ declare global {
/**
* The type of control to display. The default type is text. Possible values are: `"text"`, `"password"`, `"email"`, `"number"`, `"search"`, `"tel"`, or `"url"`.
*/
'type'?: string;
'type'?: TextFieldTypes;
/**
* The value of the input.
*/