Skip to content

Commit 57de1ec

Browse files
committed
docs: update bundleUploader documentation to include return type
1 parent 1f9c792 commit 57de1ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ export interface CliConfigInterface {
561561
*
562562
* @param source The relative path of the generated bundle file. (e.g. build/bundleOutput/1087bc338fc45a961c...)
563563
* @param platform The target platform of the bundle file. This is the string passed when executing the CLI command. ('ios'/'android')
564-
* @param identifier An additional identifier string. This can be used to distinguish execution environments by incorporating it into the upload path or file name. This string is passed when executing the CLI command.
564+
* @return {Promise<{downloadUrl: string}>} An object containing the `downloadUrl` property, which is the URL from which the uploaded bundle file can be downloaded. This URL will be recorded in the release history.
565565
*/
566566
bundleUploader: (
567567
source: string,

0 commit comments

Comments
 (0)