From 2d324df740d07d7b3a973d845b7471c48067c843 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Poizat?= Date: Wed, 26 Jul 2023 12:03:09 +0200 Subject: [PATCH] docs: Change return type Promise to void from startUpload documentation According to TS types and code, this method return void and not Promise --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b1b75ca3..57b8b4fa 100644 --- a/README.md +++ b/README.md @@ -706,7 +706,7 @@ type UploadProgressCallbackResult = { Percentage can be computed easily by dividing `totalBytesSent` by `totalBytesExpectedToSend`. -### (iOS only) `stopUpload(jobId: number): Promise` +### (iOS only) `stopUpload(jobId: number): void` Abort the current upload job with this ID.