mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
react-native: PushNotificationIOS.getInitialNotification should return a Promise
This commit is contained in:
Vendored
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user