3
0
mirror of https://github.com/danielsogl/awesome-cordova-plugins.git synced 2025-03-28 09:52:53 +08:00

fix(zip): progress callback is optional ()

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

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