mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
fix(all): strong typed events
This commit is contained in:
@ -25,7 +25,7 @@ export class ItemOptions {
|
||||
/**
|
||||
* Emitted when the item has been fully swiped.
|
||||
*/
|
||||
@Event() ionSwipe!: EventEmitter;
|
||||
@Event() ionSwipe!: EventEmitter<void>;
|
||||
|
||||
@Method()
|
||||
isRightSide() {
|
||||
@ -38,8 +38,8 @@ export class ItemOptions {
|
||||
}
|
||||
|
||||
@Method()
|
||||
fireSwipeEvent(value: any) {
|
||||
this.ionSwipe.emit(value);
|
||||
fireSwipeEvent() {
|
||||
this.ionSwipe.emit();
|
||||
}
|
||||
|
||||
hostData() {
|
||||
|
Reference in New Issue
Block a user