From 5ac029c37c8b3581d04729d0218ea9cf97d7a567 Mon Sep 17 00:00:00 2001 From: Marek Serafin Date: Fri, 27 Oct 2023 16:47:30 +0200 Subject: [PATCH] fix: add missing `setAddress` type declaration --- index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.d.ts b/index.d.ts index 11c7fda0..e723c067 100644 --- a/index.d.ts +++ b/index.d.ts @@ -28,6 +28,8 @@ export declare function stopScanningAsync(): Promise; export declare function cancelConnect(peripheralUuid: string, options?: object): void; export declare function reset(): void; +export declare function setAddress(address: string): void; + export declare function on(event: "stateChange", listener: (state: string) => void): events.EventEmitter; export declare function on(event: "scanStart", listener: () => void): events.EventEmitter; export declare function on(event: "scanStop", listener: () => void): events.EventEmitter;