import { LocationAccuracy } from '@ionic-native/location-accuracy' ; export class LocationAccuracyMock extends LocationAccuracy { returns { Promise < boolean > } canRequest ( ) { let response = true ; return new Promise ( ( resolve , reject ) => { resolve ( response ) ; } ) ; } ; returns { Promise < boolean > } isRequesting ( ) { let response = true ; return new Promise ( ( resolve , reject ) => { resolve ( response ) ; } ) ; } ; param accuracy { number } returns { Promise < any > } request ( accuracy ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; type { number } REQUEST_PRIORITY_NO_POWER : number ; type { number } REQUEST_PRIORITY_LOW_POWER : number ; type { number } REQUEST_PRIORITY_BALANCED_POWER_ACCURACY : number ; type { number } REQUEST_PRIORITY_HIGH_ACCURACY : number ; type { number } SUCCESS_SETTINGS_SATISFIED : number ; type { number } SUCCESS_USER_AGREED : number ; type { number } ERROR_ALREADY_REQUESTING : number ; type { number } ERROR_INVALID_ACTION : number ; type { number } ERROR_INVALID_ACCURACY : number ; type { number } ERROR_EXCEPTION : number ; type { number } ERROR_CANNOT_CHANGE_ACCURACY : number ; type { number } ERROR_USER_DISAGREED : number ; type { number } ERROR_GOOGLE_API_CONNECTION_FAILED : number ; }