fix(input): ionInput event emits with type of InputEvent (#24111)

The ionInput event for both ion-input and ion-textarea will emit with a type of InputEvent.
This commit is contained in:
Sean Perkins
2021-11-08 16:01:38 -05:00
committed by GitHub
parent da339a8a74
commit 52cd5d0cce
7 changed files with 12 additions and 12 deletions

View File

@ -4791,7 +4791,7 @@ declare namespace LocalJSX {
/**
* Emitted when a keyboard input occurred.
*/
"onIonInput"?: (event: CustomEvent<KeyboardEvent>) => void;
"onIonInput"?: (event: CustomEvent<InputEvent>) => void;
/**
* Emitted when the styles change.
*/
@ -6498,7 +6498,7 @@ declare namespace LocalJSX {
/**
* Emitted when a keyboard input occurred.
*/
"onIonInput"?: (event: CustomEvent<KeyboardEvent>) => void;
"onIonInput"?: (event: CustomEvent<InputEvent>) => void;
/**
* Emitted when the styles change.
*/