Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions typings/react-native-code-push.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -342,11 +342,9 @@ declare namespace CodePush {
/**
* Asks the CodePush service whether the configured app deployment has an update available.
*
* @param deploymentKey The deployment key to use to query the CodePush server for an update.
*
* @param handleBinaryVersionMismatchCallback An optional callback for handling target binary version mismatch
*/
function checkForUpdate(deploymentKey?: string, handleBinaryVersionMismatchCallback?: HandleBinaryVersionMismatchCallback): Promise<RemotePackage | null>;
function checkForUpdate(handleBinaryVersionMismatchCallback?: HandleBinaryVersionMismatchCallback): Promise<RemotePackage | null>;

/**
* Retrieves the metadata for an installed update (e.g. description, mandatory).
Expand Down