import { AppUpdate } from '@ionic-native/app-update' ; export class AppUpdateMock extends AppUpdate { param updateUrl { string } return { Promise < any > } checkAppUpdate ( updateUrl ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; }