Skip to content

Commit 47568d6

Browse files
author
devAxeon
committed
node shell.download(...) use stream chunks and have a progress callback too
1 parent 2d65dc1 commit 47568d6

File tree

8 files changed

+918
-679
lines changed

8 files changed

+918
-679
lines changed

dist/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ declare module shell {
3434
* @param url
3535
* @param dest
3636
*/
37-
const download: (url: string, dest: string, progressCallback? : (progress: any) => {}) => Promise<ShellEntry>;
37+
const download: (url: string, dest: string, progressCallback? : (progress: any) => void) => Promise<ShellEntry>;
3838
/**
3939
* Check if a file or a directory exists
4040
* @param url

0 commit comments

Comments
 (0)