BLE Capacitor Plugin with Ionic 5

Hi All

I am using Ionic 5 and i would like to use the following Capacitor plugin for my BLE application.
BLE Plugin

Has anyone managed to use it successfully?

As I am getting the following error message on a ionic build:
3 import type { BleDevice, BluetoothLePlugin, ConnectOptions, ReadOptions, ReadResult, RequestBleDeviceOptions, WriteOptions } from ‘./definitions’;
node_modules/@capacitor-community/bluetooth-le/dist/esm/bleClient.d.ts:1:13 - error TS1005: ‘=’ expected.

1 import type { PluginListenerHandle } from ‘@capacitor/core’;
~
node_modules/@capacitor-community/bluetooth-le/dist/esm/bleClient.d.ts:1:43 - error TS1005: ‘;’ expected.

1 import type { PluginListenerHandle } from ‘@capacitor/core’;
~~~~~~~~~~~~~~~~~
node_modules/@capacitor-community/bluetooth-le/dist/esm/bleClient.d.ts:2:13 - error TS1005: ‘=’ expected.

2 import type { BleDevice, RequestBleDeviceOptions, ScanResult } from ‘./definitions’;
~
node_modules/@capacitor-community/bluetooth-le/dist/esm/bleClient.d.ts:2:69 - error TS1005: ‘;’ expected.

Updating the TypeScript version helps, as mentioned in the issue Plugin with Ionic · Issue #69 · capacitor-community/bluetooth-le · GitHub.