import { Crop } from '@ionic-native/crop' ; export class CropMock extends Crop { param pathToImage param options returns { Promise < string > } crop ( pathToImage , options ? ) { return new Promise ( ( resolve , reject ) => { resolve ( '' ) ; } ) ; } ; }