import { RegulaDocumentReader } from '@ionic-native/regula-document-reader' ; export class RegulaDocumentReaderMock extends RegulaDocumentReader { param license { any } initReader ( license ) { } ; return { Promise < string [ ] > } scanDocument ( ) { let response = [ '' ] ; return new Promise ( ( resolve , reject ) => { resolve ( response ) ; } ) ; } ; }