import { FirebaseDynamicLinks } from '@ionic-native/firebase-dynamic-links' ; import { Observable } from 'rxjs/Observable' ; import { Observer } from 'rxjs/Observer' ; export interface IDynamicLink { matchType : 'Weak' | 'Strong' ; deepLink : string ; } export class FirebaseDynamicLinksMocks extends FirebaseDynamicLinks { return { Observable < IDynamicLink > } onDynamicLink ( ) { return Observable . create ( ( observer ) => { let response ; observer . next ( response ) ; observer . complete ( ) ; } ) ; } ; }