We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 95a04ab + e6ccaa0 commit 2e390bcCopy full SHA for 2e390bc
src/index.d.ts
@@ -182,7 +182,7 @@ declare module 'react-native-onesignal' {
182
* @param {(response:boolean)=>void} handler
183
* @returns void
184
*/
185
- promptForPushNotificationsWithUserResponse(handler?: (response: boolean) => void): void;
+ promptForPushNotificationsWithUserResponse(handler: (response: boolean) => void): void;
186
187
/**
188
* Only applies to iOS (does nothing on Android as it always silently registers)
@@ -461,4 +461,4 @@ declare module 'react-native-onesignal' {
461
}
462
const OneSignal: OneSignal;
463
export default OneSignal;
464
-}
+}
0 commit comments