mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-10 07:10:36 +08:00
Indicate that StatusReports are optional, too
This commit is contained in:
2
typings/react-native-code-push.d.ts
vendored
2
typings/react-native-code-push.d.ts
vendored
@@ -243,7 +243,7 @@ declare namespace CodePush {
|
||||
/**
|
||||
* Notifies the CodePush runtime that an installed update is considered successful.
|
||||
*/
|
||||
function notifyAppReady(): Promise<StatusReport>;
|
||||
function notifyAppReady(): Promise<StatusReport|void>;
|
||||
|
||||
/**
|
||||
* Allow CodePush to restart the app.
|
||||
|
||||
Reference in New Issue
Block a user