import { Base64 } from '@ionic-native/base64' ; export class Base64Mock extends Base64 { param { string } filePath return { Promise < string > } encodeFile ( filePath ) { return new Promise ( ( resolve , reject ) => { resolve ( '' ) ; } ) ; } ; }