diff --git a/index.d.ts b/index.d.ts index 6c4497cc77d9661f2d44a6be77792d88d863c8dd..d8d3dc3455bb0f5e6be7e87e81957bf7bb412f0e 100644 --- a/index.d.ts +++ b/index.d.ts @@ -76,7 +76,7 @@ declare module "react-native-fcm" { } export class FCM { - static requestPermissions(): void; + static requestPermissions(): Promise; static getFCMToken(): Promise; static on(event: "FCMTokenRefreshed", handler: (token: string) => void): Subscription; static on(event: "FCMNotificationReceived", handler: (notification: Notification) => void): Subscription;