Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit b910f8c

Browse files
authored
Merge pull request #192 from NativeScript/tbozhikov/fix-type-error-android
fix: Return any type by getIOSLocationManagerStatus() since strong type breaks in android builds
2 parents 2992b2e + 2f3c07d commit b910f8c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/location-monitor.d.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export function distance(loc1: Location, loc2: Location): number;
106106

107107
/**
108108
* ** iOS Only **
109-
* Returns the value for the CLLocationManager on iOS.
110-
* @returns {CLAuthorizationStatus} The status of the Location Authorization permission.
109+
* Returns the value for the CLAuthorizationStatus on iOS.
110+
* @returns {any} representing the CLAuthorizationStatus value. The status of the Location Authorization permission.
111111
*/
112-
export function getIOSLocationManagerStatus(): CLAuthorizationStatus;
112+
export function getIOSLocationManagerStatus(): any;

0 commit comments

Comments
 (0)