fix(zip): progress callback is optional (#1049)

This commit is contained in:
Ibby Hadeed 2017-02-13 15:06:33 -05:00 committed by GitHub
parent 78fcdc8d80
commit 83f57b9820

View File

@ -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; }
}