Skip to content

Commit 7fe7d4e

Browse files
authored
fix(notifications): Fix permissions type (#11237)
1 parent 26d142b commit 7fe7d4e

File tree

1 file changed

+2
-1
lines changed
  • packages/notifications/src/PushNotification

1 file changed

+2
-1
lines changed

packages/notifications/src/PushNotification/types.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ interface ApnsPlatformOptions {
7777
subtitle?: string;
7878
}
7979

80-
export interface PushNotificationPermissions extends Record<string, boolean> {
80+
export interface PushNotificationPermissions
81+
extends Partial<Record<string, boolean>> {
8182
alert?: boolean;
8283
badge?: boolean;
8384
sound?: boolean;

0 commit comments

Comments
 (0)