mirror of
https://github.com/zoriya/react-native-background-downloader.git
synced 2026-06-12 13:14:04 +00:00
Merge pull request #35 from savv/patch-1
index.d.ts should include metadata in DownloadOption
This commit is contained in:
Vendored
+1
@@ -86,6 +86,7 @@ export interface DownloadOption {
|
||||
url: string;
|
||||
destination: string;
|
||||
headers?: DownloadHeaders | undefined;
|
||||
metadata?: object;
|
||||
}
|
||||
|
||||
export type Download = (options: DownloadOption) => DownloadTask;
|
||||
|
||||
Reference in New Issue
Block a user