Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,10 @@ export interface IOSNotificationActionButton {
readonly launchURL?: string;
}

export interface IDisplayableOSNotification extends IOSNotification {
display(): void;
}

export interface NotificationClickResult {
readonly actionId?: string;
readonly url?: string;
Expand All @@ -231,7 +235,7 @@ export type NotificationEventTypeMap = {
};

export interface NotificationForegroundWillDisplayEvent {
readonly notification: IOSNotification;
readonly notification: IDisplayableOSNotification;
preventDefault(): void;
}

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.