diff --git a/native/push/android.js b/native/push/android.js --- a/native/push/android.js +++ b/native/push/android.js @@ -18,7 +18,6 @@ +removeAllDeliveredNotifications: () => void, +hasPermission: () => Promise, +getToken: () => Promise, - ... }; export type AndroidForegroundMessage = { +body: string, diff --git a/native/push/ios.js b/native/push/ios.js --- a/native/push/ios.js +++ b/native/push/ios.js @@ -26,7 +26,6 @@ // required since CommIOSNotifications subclasses RCTEventEmitter +addListener: (eventName: string) => void, +removeListeners: (count: number) => void, - ... }; const CommIOSNotifications: CommIOSNotificationsModuleType =