Skip to content

Commit

Permalink
fix(notifications): Fixed type error for Push Notification config (#1…
Browse files Browse the repository at this point in the history
…3454)

Changed the type PushNotification to Push so that the expected config shape matches the the generated config object.
  • Loading branch information
yuhengshs authored Jun 3, 2024
1 parent b88df66 commit 2db4f85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/notifications/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export interface NotificationsProvider {
export interface NotificationsConfig {
Notifications?: {
InAppMessaging?: InAppMessagingConfig;
PushNotification?: PushNotificationConfig;
Push?: PushNotificationConfig;
};
}

Expand Down

0 comments on commit 2db4f85

Please sign in to comment.