Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
Update react-native-code-push.d.ts (microsoft#1515)
Browse files Browse the repository at this point in the history
* Update react-native-code-push.d.ts
  • Loading branch information
iamolegga authored and alexandergoncharov-zz committed Feb 20, 2019
1 parent ec149b6 commit a55a0be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typings/react-native-code-push.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ declare namespace CodePush {
*
* @param updateState The state of the update you want to retrieve the metadata for. Defaults to UpdateState.RUNNING.
*/
function getUpdateMetadata(updateState?: UpdateState) : Promise<LocalPackage>;
function getUpdateMetadata(updateState?: UpdateState) : Promise<LocalPackage|null>;

/**
* Notifies the CodePush runtime that an installed update is considered successful.
Expand Down

0 comments on commit a55a0be

Please sign in to comment.