mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
feat(all): add CustomEvents types to components that emit events (#23956)
resolves #22925 BREAKING CHANGE: The `RadioChangeEventDetail` interface has been removed in favor of `RadioGroupChangeEventDetail`.
This commit is contained in:
@ -1,4 +1,9 @@
|
||||
|
||||
export interface SearchbarChangeEventDetail {
|
||||
value: string | undefined;
|
||||
value?: string;
|
||||
}
|
||||
|
||||
export interface SearchbarCustomEvent extends CustomEvent {
|
||||
detail: SearchbarChangeEventDetail;
|
||||
target: HTMLIonSearchbarElement;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user