import { Zip } from '@ionic-native/zip' ; export class ZipMock extends Zip { param sourceZip { string } param destUrl { string } param onProgress { Function } returns { Promise < number > } unzip ( sourceZip , destUrl , onProgress ? ) { let response ; return new Promise ( ( resolve , reject ) => { resolve ( response ) ; } ) ; } ; }