fix(all): strong typed events

This commit is contained in:
Manu Mtz.-Almeida
2018-04-23 17:26:10 +02:00
parent b8c87c453a
commit d5129df970
44 changed files with 434 additions and 607 deletions

View File

@ -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() {