Using non ionic cordova plugins properly

Ok i got it, should it help anyone else adding import to the declartion.d.ts file got me proper lint and auto complete, here is what my declarations.d.ts file looks like.

declare module 'cordova-plugin-bluetoothle';
import 'cordova-plugin-bluetoothle';
declare var cordova: any;

// declare var bluetoothle: any;
// declare var bluetoothle: BluetootlePlugin.Bluetoothle;

1 Like