import { TwitterConnect } from '@ionic-native/twitter-connect' ; export interface TwitterConnectResponse { /**
     * Twitter Username
     */ userName : string ; /**
     * Twitter User ID
     */ userId : string ; /**
     * Twitter OAuth Secret
     */ secret : string ; /**
     * Twitter OAuth Token
     */ token : string ; } export class TwitterConnectMock extends TwitterConnect { returns { Promise < TwitterConnectResponse > } login ( ) { let response ; return new Promise ( ( resolve , reject ) => { resolve ( response ) ; } ) ; } ; returns { Promise < any > } logout ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; returns { Promise < any > } showUser ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; }