Skip to content

Commit

Permalink
Merge pull request #1051 from td-tomasz-joniec/fix-type
Browse files Browse the repository at this point in the history
Fix serviceData type
  • Loading branch information
marcosinigaglia authored Aug 8, 2023
2 parents 659836a + 0c68984 commit 13b17e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export interface AdvertisingData {
isConnectable?: boolean;
localName?: string;
manufacturerData?: CustomAdvertisingData;
serviceData?: CustomAdvertisingData;
serviceData?: Record<string, CustomAdvertisingData>;
serviceUUIDs?: string[];
txPowerLevel?: number;
}
Expand Down Expand Up @@ -76,7 +76,7 @@ export interface StartOptions {
forceLegacy?: boolean;
}

export interface ConnectOptions {
export interface ConnectOptions {
/**
* [android only]
*/
Expand Down

0 comments on commit 13b17e4

Please sign in to comment.