Skip to content

Commit 2eaa3bb

Browse files
committed
chore: tsc fixes
1 parent fdf6355 commit 2eaa3bb

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

references.d.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/// <reference path="./node_modules/@nativescript/types-ios/index.d.ts" />
2-
/// <reference path="./node_modules/@nativescript/types-android/lib/android-28.d.ts" />
2+
/// <reference path="./node_modules/@nativescript/types-ios/lib/ios/objc-x86_64/objc!CoreBluetooth.d.ts" />
3+
/// <reference path="./node_modules/@nativescript/types-android/lib/android-32.d.ts" />
34
/// <reference path="./node_modules/@nativescript/core/global-types.d.ts" />
45
/// <reference path="./src/typings/android.d.ts" />

src/bluetooth.android.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -222,11 +222,11 @@ function initLeScanCallback() {
222222
constructor(
223223
private serviceUuids: string[],
224224
private manufacturerData: android.util.SparseArray<any[]>,
225-
private serviceData: { [k: string]: native.Array<number> },
225+
private serviceData: { [k: string]: androidNative.Array<number> },
226226
private advertiseFlags: number,
227227
private txPowerLevel: number,
228228
private localName: string,
229-
private bytes: native.Array<number>
229+
private bytes: androidNative.Array<number>
230230
) {}
231231
}
232232

@@ -800,7 +800,7 @@ function initBluetoothGattCallback() {
800800
d.onCharacteristicChanged(gatt, characteristic);
801801
}
802802
});
803-
803+
804804
const owner = this.owner.get();
805805
if (!owner) {
806806
return;

0 commit comments

Comments
 (0)