From 2f3c07d4933a5df5bd5a7961ef6832b3ad1384a6 Mon Sep 17 00:00:00 2001 From: tbozhikov Date: Tue, 29 Jan 2019 15:08:55 +0200 Subject: [PATCH] fix: return any type by getIOSLocationManagerStatus() since strong type breaks in android builds --- src/location-monitor.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/location-monitor.d.ts b/src/location-monitor.d.ts index fcbd470..f2bbfc2 100644 --- a/src/location-monitor.d.ts +++ b/src/location-monitor.d.ts @@ -106,7 +106,7 @@ export function distance(loc1: Location, loc2: Location): number; /** * ** iOS Only ** - * Returns the value for the CLLocationManager on iOS. - * @returns {CLAuthorizationStatus} The status of the Location Authorization permission. + * Returns the value for the CLAuthorizationStatus on iOS. + * @returns {any} representing the CLAuthorizationStatus value. The status of the Location Authorization permission. */ -export function getIOSLocationManagerStatus(): CLAuthorizationStatus; +export function getIOSLocationManagerStatus(): any;