Skip to content

Commit

Permalink
fix(bluetooth-le): change reconnect return signature to Observable<De…
Browse files Browse the repository at this point in the history
…viceInfo> fixes #3374 (#3394)
  • Loading branch information
ebeling authored May 5, 2020
1 parent eceb7ca commit 8eacf88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/@ionic-native/plugins/bluetooth-le/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 8eacf88

Please sign in to comment.