Skip to content

Commit 3757c3d

Browse files
Omit icon and image from push notification
1 parent 86dded4 commit 3757c3d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/push-notification.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
/**
66
* Push notification
77
*/
8-
export type { NotificationPayload as PushNotification } from '@firebase/messaging';
8+
import type { NotificationPayload } from '@firebase/messaging';
9+
export type PushNotification = Omit<NotificationPayload, 'icon' | 'image'>;
910

0 commit comments

Comments
 (0)