mirror of
https://github.com/zoriya/react-native-background-downloader.git
synced 2025-12-06 06:56:10 +00:00
index.d.ts should include metadata in DownloadOption
This commit is contained in:
committed by
GitHub
parent
34e2b6c5ef
commit
55531b7b3b
1
index.d.ts
vendored
1
index.d.ts
vendored
@@ -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