mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-17 03:59:19 +08:00
Update react-native-code-push.d.ts (#1515)
* Update react-native-code-push.d.ts
This commit is contained in:
committed by
Alexander Goncharov
parent
ec149b6d76
commit
a55a0be599
2
typings/react-native-code-push.d.ts
vendored
2
typings/react-native-code-push.d.ts
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user