From 814efe633e2af13701f4f302e94d312bc5c4e560 Mon Sep 17 00:00:00 2001 From: Nick Redmond Date: Tue, 18 Apr 2017 10:18:02 -0700 Subject: [PATCH] react-native: PushNotificationIOS.getInitialNotification should return a Promise --- types/react-native/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 6080851f38..de0f5f8f9b 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -7211,7 +7211,7 @@ export interface PushNotificationIOSStatic { * This method returns a promise that resolves to either the notification * object if the app was launched by a push notification, or `null` otherwise. */ - getInitialNotification(): PushNotification + getInitialNotification(): Promise } export interface SettingsStatic {