Skip to content

Commit

Permalink
fix: add missing setAddress type declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
stoprocent committed Oct 27, 2023
1 parent 1260f60 commit 5ac029c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ export declare function stopScanningAsync(): Promise<void>;
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;
Expand Down

0 comments on commit 5ac029c

Please sign in to comment.