fix(ibeacon): correct Type {Region} in some params (#2453)

Changes wrongly typed @param {BeaconRegion} to @param {Region}
This commit is contained in:
Sascha Merkofer 2018-04-13 12:03:44 +02:00 committed by Daniel Sogl
parent 23b760bb01
commit 300db62731

View File

@ -481,7 +481,7 @@ export class IBeacon extends IonicNativePlugin {
* native layer acknowledged the dispatch of the monitoring request.
*/
@Cordova({ otherPromise: true })
startMonitoringForRegion(region: BeaconRegion): Promise<string> { return; }
startMonitoringForRegion(region: Region): Promise<string> { return; }
/**
* Stop monitoring the specified region. It is valid to call
@ -498,7 +498,7 @@ export class IBeacon extends IonicNativePlugin {
* native layer acknowledged the dispatch of the request to stop monitoring.
*/
@Cordova({ otherPromise: true })
stopMonitoringForRegion(region: BeaconRegion): Promise<void> { return; }
stopMonitoringForRegion(region: Region): Promise<void> { return; }
/**
* Request state the for specified region. When result is ready
@ -532,7 +532,7 @@ export class IBeacon extends IonicNativePlugin {
* native layer acknowledged the dispatch of the monitoring request.
*/
@Cordova({ otherPromise: true })
startRangingBeaconsInRegion(region: BeaconRegion): Promise<void> { return; }
startRangingBeaconsInRegion(region: Region): Promise<void> { return; }
/**
* Stop ranging the specified region. It is valid to call
@ -549,7 +549,7 @@ export class IBeacon extends IonicNativePlugin {
* native layer acknowledged the dispatch of the request to stop monitoring.
*/
@Cordova({ otherPromise: true })
stopRangingBeaconsInRegion(region: BeaconRegion): Promise<void> { return; }
stopRangingBeaconsInRegion(region: Region): Promise<void> { return; }
/**
* Queries the native layer to determine the current authorization in effect.