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 -2
View File
@@ -32,7 +32,7 @@ export interface CropOptions {
plugin: 'cordova-plugin-crop',
pluginRef: 'plugins',
repo: 'https://github.com/jeduan/cordova-plugin-crop',
platforms: ['Android', 'iOS']
platforms: ['Android', 'iOS'],
})
@Injectable()
export class Crop extends IonicNativePlugin {
@@ -43,7 +43,7 @@ export class Crop extends IonicNativePlugin {
* @returns {Promise<string>} Returns a promise that resolves with the new image path, or rejects if failed to crop.
*/
@Cordova({
callbackOrder: 'reverse'
callbackOrder: 'reverse',
})
crop(pathToImage: string, options?: CropOptions): Promise<string> {
return;