From 817f0d11b957d9a1f92a0d5916a274a8fb7d80c3 Mon Sep 17 00:00:00 2001 From: chriswatt Date: Fri, 7 Feb 2020 16:54:22 +0000 Subject: [PATCH] fix(background-geolocation): change syncThreshold type to number (#3299) https://github.com/mauron85/cordova-plugin-background-geolocation#API The syncThreshold parameter type is Number --- src/@ionic-native/plugins/background-geolocation/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/background-geolocation/index.ts b/src/@ionic-native/plugins/background-geolocation/index.ts index f4e073fda..1f38d6dc6 100644 --- a/src/@ionic-native/plugins/background-geolocation/index.ts +++ b/src/@ionic-native/plugins/background-geolocation/index.ts @@ -404,7 +404,7 @@ export interface BackgroundGeolocationConfig { * * @default 100 */ - syncThreshold?: string; + syncThreshold?: number; /** * Optional HTTP headers sent along in HTTP request.