Merge pull request #903 from ifiokjr/patch-1

FIX: Types for requestPermissions on iOS
This commit is contained in:
Elliot Hesp 2018-03-23 09:52:41 +00:00 committed by GitHub
commit 5baab58584
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
lib/index.d.ts vendored
View File

@ -954,7 +954,7 @@ declare module "react-native-firebase" {
* IOS * IOS
* Requests app notification permissions in an Alert dialog. * Requests app notification permissions in an Alert dialog.
*/ */
requestPermissions(): void requestPermissions(): Promise<{ granted: boolean }>;
/** /**
* Sets the badge number on the iOS app icon. * Sets the badge number on the iOS app icon.