refactor(lib): run prettier

This commit is contained in:
Daniel Sogl
2020-05-16 14:40:49 +02:00
parent f5133c691d
commit 511a02d50b
326 changed files with 3079 additions and 4092 deletions
+2 -4
View File
@@ -27,11 +27,10 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
plugin: 'cordova-plugin-zip',
pluginRef: 'zip',
repo: 'https://github.com/MobileChromeApps/cordova-plugin-zip',
platforms: ['Android', 'iOS']
platforms: ['Android', 'iOS'],
})
@Injectable()
export class Zip extends IonicNativePlugin {
/**
* Extracts files from a ZIP archive
* @param sourceZip {string} Source ZIP file
@@ -41,10 +40,9 @@ export class Zip extends IonicNativePlugin {
*/
@Cordova({
successIndex: 2,
errorIndex: 4
errorIndex: 4,
})
unzip(sourceZip: string, destUrl: string, onProgress?: Function): Promise<number> {
return;
}
}