From 300db62731a8f210384b9f3cbf078c1dcb13b222 Mon Sep 17 00:00:00 2001 From: Sascha Merkofer Date: Fri, 13 Apr 2018 12:03:44 +0200 Subject: [PATCH] fix(ibeacon): correct Type {Region} in some params (#2453) Changes wrongly typed @param {BeaconRegion} to @param {Region} --- src/@ionic-native/plugins/ibeacon/index.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/@ionic-native/plugins/ibeacon/index.ts b/src/@ionic-native/plugins/ibeacon/index.ts index 8b77afed0..467f790e7 100644 --- a/src/@ionic-native/plugins/ibeacon/index.ts +++ b/src/@ionic-native/plugins/ibeacon/index.ts @@ -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 { return; } + startMonitoringForRegion(region: Region): Promise { 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 { return; } + stopMonitoringForRegion(region: Region): Promise { 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 { return; } + startRangingBeaconsInRegion(region: Region): Promise { 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 { return; } + stopRangingBeaconsInRegion(region: Region): Promise { return; } /** * Queries the native layer to determine the current authorization in effect.