From ca7659378fc2c73d77a21eef87cc920f29b07e37 Mon Sep 17 00:00:00 2001 From: Ibby Hadeed Date: Wed, 17 May 2017 07:51:19 -0400 Subject: [PATCH] fix(push): fix types closes #1331 --- src/@ionic-native/plugins/push/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/@ionic-native/plugins/push/index.ts b/src/@ionic-native/plugins/push/index.ts index 206026552..7d0af4d22 100644 --- a/src/@ionic-native/plugins/push/index.ts +++ b/src/@ionic-native/plugins/push/index.ts @@ -4,7 +4,7 @@ import { Observable } from 'rxjs/Observable'; declare var window: any; -export type EventResponse = RegistrationEventResponse | NotificationEventResponse | Error; +export type EventResponse = RegistrationEventResponse & NotificationEventResponse & Error; export interface RegistrationEventResponse { /** @@ -39,7 +39,7 @@ export interface NotificationEventResponse { /** * An optional collection of data sent by the 3rd party push service that does not fit in the above properties. */ - additionalData: NotificationEventAdditionalData | any; + additionalData: NotificationEventAdditionalData & any; } /**