Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
rlepinski committed Jun 30, 2023
1 parent 731beb9 commit b56872e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AirshipPush.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { NativeEventEmitter, Platform } from 'react-native';
import { Android, iOS, NotificationStatus, PushPayload } from './types';
import { Android, iOS, PushNotificationStatus, PushPayload } from './types';

/**
* Airship Push.
Expand Down Expand Up @@ -55,7 +55,7 @@ export class AirshipPush {
* Gets the notification status.
* @returns A promise with the result.
*/
public getNotificationStatus(): Promise<NotificationStatus> {
public getNotificationStatus(): Promise<PushNotificationStatus> {
return this.module.pushGetNotificationStatus();
}

Expand Down

0 comments on commit b56872e

Please sign in to comment.