I'm currently working on integrating the [This]https://github.com/louisbl/cordova-plugin-locationservices plugin into my Ionic 4 app.
Since it's a non-Ionic-native plugin, what is the proper way to call its functions within my TypeScript code?
I've attempted to use
declare var locationservices: any;
locationServices.geolocation.getCurrentPosition(geolocationSuccess,[geolocationError],geolocationOptions]);
Yet, I keep receiving an error stating that locationservices is not defined