Skip to content

Commit a55a0be

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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)