mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +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:
@ -5,3 +5,8 @@ export type SelectCompareFn = (currentValue: any, compareValue: any) => boolean;
|
||||
export interface SelectChangeEventDetail<T = any> {
|
||||
value: T;
|
||||
}
|
||||
|
||||
export interface SelectCustomEvent<T = any> extends CustomEvent {
|
||||
detail: SelectChangeEventDetail<T>;
|
||||
target: HTMLIonSelectElement;
|
||||
}
|
||||
|
Reference in New Issue
Block a user