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

Commit a55a0be

Browse files
iamoleggaalexandergoncharov-zz
authored andcommitted
Update react-native-code-push.d.ts (#1515)
* Update react-native-code-push.d.ts
1 parent ec149b6 commit a55a0be

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
@@ -260,7 +260,7 @@ declare namespace CodePush {
260260
*
261261
* @param updateState The state of the update you want to retrieve the metadata for. Defaults to UpdateState.RUNNING.
262262
*/
263-
function getUpdateMetadata(updateState?: UpdateState) : Promise<LocalPackage>;
263+
function getUpdateMetadata(updateState?: UpdateState) : Promise<LocalPackage|null>;
264264

265265
/**
266266
* Notifies the CodePush runtime that an installed update is considered successful.

0 commit comments

Comments
 (0)