mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-04-21 01:06:25 +08:00
fix(zip): progress callback is optional (#1049)
This commit is contained in:
parent
78fcdc8d80
commit
83f57b9820
@ -35,6 +35,6 @@ export class Zip {
|
|||||||
successIndex: 2,
|
successIndex: 2,
|
||||||
errorIndex: 4
|
errorIndex: 4
|
||||||
})
|
})
|
||||||
static unzip(sourceZip: string, destUrl: string, onProgress: Function): Promise<number> {return; }
|
static unzip(sourceZip: string, destUrl: string, onProgress?: Function): Promise<number> {return; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user