Update ibeacon.ts (#1099)

Return type of `getAuthorizationStatus()` made more explicit.
This commit is contained in:
Markus Wagner 2017-02-23 09:53:11 +01:00 committed by Ibby Hadeed
parent 85a3a40795
commit 093c8a8231

View File

@ -546,11 +546,11 @@ export class IBeacon {
/**
* Queries the native layer to determine the current authorization in effect.
*
* @returns {Promise<any>} Returns a promise which is resolved with the
* @returns {Promise<IBeaconPluginResult>} Returns a promise which is resolved with the
* requested authorization status.
*/
@Cordova({otherPromise: true})
static getAuthorizationStatus(): Promise<any> { return; }
static getAuthorizationStatus(): Promise<IBeaconPluginResult> { return; }
/**
* For iOS 8 and above only. The permission model has changed by Apple in iOS 8, making it necessary for apps to