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

Commit 7d7e12a

Browse files
committed
update typings
1 parent f0379ff commit 7d7e12a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

typings/react-native-code-push.d.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,13 @@ export interface StatusReport {
227227
previousLabelOrAppVersion?: string;
228228
}
229229

230+
/**
231+
* Decorates a React Component configuring it to sync for updates with the CodePush server.
232+
*
233+
* @param options Options used to configure the end-user sync and update experience (e.g. when to check for updates?, show an prompt?, install the update immediately?).
234+
*/
235+
declare function CodePush(options?: CodePushOptions): Function;
236+
230237
declare namespace CodePush {
231238
/**
232239
* Represents the default settings that will be used by the sync method if
@@ -241,13 +248,6 @@ declare namespace CodePush {
241248
*/
242249
function checkForUpdate(deploymentKey?: string): Promise<RemotePackage>;
243250

244-
/**
245-
* Decorates a React Component configuring it to sync for updates with the CodePush server.
246-
*
247-
* @param options Options used to configure the end-user sync and update experience (e.g. when to check for updates?, show an prompt?, install the update immediately?).
248-
*/
249-
function codePushify(options?: CodePushOptions): Function;
250-
251251
/**
252252
* Retrieves the metadata for an installed update (e.g. description, mandatory).
253253
*

0 commit comments

Comments
 (0)