From 2db4f85ae60cd9e6974b3533c74ef1094d5c9da1 Mon Sep 17 00:00:00 2001 From: yuhengshs <94558971+yuhengshs@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:09:02 -0700 Subject: [PATCH] fix(notifications): Fixed type error for Push Notification config (#13454) Changed the type PushNotification to Push so that the expected config shape matches the the generated config object. --- packages/notifications/src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/notifications/src/types.ts b/packages/notifications/src/types.ts index c539117d54c..7c79758e813 100644 --- a/packages/notifications/src/types.ts +++ b/packages/notifications/src/types.ts @@ -28,7 +28,7 @@ export interface NotificationsProvider { export interface NotificationsConfig { Notifications?: { InAppMessaging?: InAppMessagingConfig; - PushNotification?: PushNotificationConfig; + Push?: PushNotificationConfig; }; }