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

Commit

Permalink
Merge pull request #192 from NativeScript/tbozhikov/fix-type-error-an…
Browse files Browse the repository at this point in the history
…droid

fix: Return any type by getIOSLocationManagerStatus() since strong type breaks in android builds
  • Loading branch information
tbozhikov authored Jan 29, 2019
2 parents 2992b2e + 2f3c07d commit b910f8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/location-monitor.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit b910f8c

Please sign in to comment.