import { Screenshot } from '@ionic-native/screenshot' ; export class ScreenshotMock extends Screenshot { param format { string } param quality { number } param filename { string } returns { Promise < any > } save ( format ? , quality ? , filename ? ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param quality { number } returns { Promise < any > } URI ( quality ? ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; }