react-native: PushNotificationIOS.getInitialNotification should return a Promise

This commit is contained in:
Nick Redmond
2017-04-20 11:35:26 -07:00
parent 76bc8c2564
commit 814efe633e
+1 -1
View File
@@ -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<PushNotification>
}
export interface SettingsStatic {