Skip to content

Commit

Permalink
progressInterval in DownloadFileOptions is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
itinance committed Oct 21, 2019
1 parent aed27d6 commit da7faab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type DownloadFileOptions = {
background?: boolean // Continue the download in the background after the app terminates (iOS only)
discretionary?: boolean // Allow the OS to control the timing and speed of the download to improve perceived performance (iOS only)
cacheable?: boolean // Whether the download can be stored in the shared NSURLCache (iOS only)
progressInterval: number
progressInterval?: number
progressDivider?: number
begin?: (res: DownloadBeginCallbackResult) => void
progress?: (res: DownloadProgressCallbackResult) => void
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-fs",
"version": "2.15.2",
"version": "2.15.3",
"description": "Native filesystem access for react-native",
"main": "FS.common.js",
"typings": "index.d.ts",
Expand Down

0 comments on commit da7faab

Please sign in to comment.