mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 04:53:58 +08:00
fix(all): strong type text fields
This commit is contained in:
5
core/src/components.d.ts
vendored
5
core/src/components.d.ts
vendored
@ -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.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user