fix(push): fix types

closes #1331
This commit is contained in:
Ibby Hadeed 2017-05-17 07:51:19 -04:00
parent 4333bc950d
commit ca7659378f

View File

@ -4,7 +4,7 @@ import { Observable } from 'rxjs/Observable';
declare var window: any; declare var window: any;
export type EventResponse = RegistrationEventResponse | NotificationEventResponse | Error; export type EventResponse = RegistrationEventResponse & NotificationEventResponse & Error;
export interface RegistrationEventResponse { 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. * 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;
} }
/** /**