Skip to content

Commit

Permalink
fix(push): fix types
Browse files Browse the repository at this point in the history
closes #1331
  • Loading branch information
ihadeed committed May 17, 2017
1 parent 4333bc9 commit ca76593
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/@ionic-native/plugins/push/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
/**
Expand Down Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit ca76593

Please sign in to comment.