Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 2b62800

Browse files
committed
Indicate that StatusReports are optional, too
1 parent 8c432e4 commit 2b62800

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typings/react-native-code-push.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ declare namespace CodePush {
243243
/**
244244
* Notifies the CodePush runtime that an installed update is considered successful.
245245
*/
246-
function notifyAppReady(): Promise<StatusReport>;
246+
function notifyAppReady(): Promise<StatusReport|void>;
247247

248248
/**
249249
* Allow CodePush to restart the app.

0 commit comments

Comments
 (0)