From ff93403bf97acf7c99f5b4d992f6ad0fde280dec Mon Sep 17 00:00:00 2001 From: Li Jie Date: Thu, 16 Feb 2017 18:22:57 +0800 Subject: [PATCH] Fix doc of stopDownload (#256) It returns void, not Promise --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4b4ba2b6..1e627229 100644 --- a/README.md +++ b/README.md @@ -468,7 +468,7 @@ If `progressDivider` = 0, you will receive all `progressCallback` calls, default for your project in XCode. -### `stopDownload(jobId: number): Promise` +### `stopDownload(jobId: number): void` Abort the current download job with this ID. The partial file will remain on the filesystem.