Skip to content

Commit

Permalink
fix(zip): progress callback is optional (#1049)
Browse files Browse the repository at this point in the history
  • Loading branch information
ihadeed authored Feb 13, 2017
1 parent 78fcdc8 commit 83f57b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/zip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ export class Zip {
successIndex: 2,
errorIndex: 4
})
static unzip(sourceZip: string, destUrl: string, onProgress: Function): Promise<number> {return; }
static unzip(sourceZip: string, destUrl: string, onProgress?: Function): Promise<number> {return; }

}

0 comments on commit 83f57b9

Please sign in to comment.