Indicate that StatusReports are optional, too

This commit is contained in:
Ian MacLeod
2016-06-23 10:59:00 -07:00
parent 8c432e4595
commit 2b628007e0

View File

@@ -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.