From 9dc2f8c8a34f5ba366d66599db19ac0061c14c0e Mon Sep 17 00:00:00 2001 From: Libin Lu Date: Tue, 26 Sep 2017 19:37:28 -0400 Subject: [PATCH] Update index.d.ts --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 6c4497c..d8d3dc3 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; -- 2.26.2