fix(bluetooth-le): change reconnect return signature to Observable<DeviceInfo> fixes #3374 (#3394)

This commit is contained in:
ebeling 2020-05-05 11:03:27 +02:00 committed by GitHub
parent eceb7ca1fc
commit 8eacf8817c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -569,10 +569,10 @@ export class BluetoothLE extends IonicNativePlugin {
* @name reconnect
* Reconnect to a previously connected Bluetooth device
* @param {{address: string}} params The address/identifier
* @returns {(Observable<{ status: DeviceInfo }>)}
* @returns {(Observable<DeviceInfo>)}
*/
@Cordova({ callbackOrder: 'reverse', observable: true })
reconnect(params: { address: string }): Observable<{ status: DeviceInfo }> {
reconnect(params: { address: string }): Observable<DeviceInfo> {
return;
}