Fix doc of stopDownload (#256)

It returns void, not Promise<void>
This commit is contained in:
Li Jie 2017-02-16 18:22:57 +08:00 committed by Ben Clayton
parent e212728104
commit ff93403bf9
1 changed files with 1 additions and 1 deletions

View File

@ -468,7 +468,7 @@ If `progressDivider` = 0, you will receive all `progressCallback` calls, default
for your project in XCode. for your project in XCode.
### `stopDownload(jobId: number): Promise<void>` ### `stopDownload(jobId: number): void`
Abort the current download job with this ID. The partial file will remain on the filesystem. Abort the current download job with this ID. The partial file will remain on the filesystem.