Skip to content

Commit

Permalink
fix(types): add connectAsync overload signature with allowRetries (#1909
Browse files Browse the repository at this point in the history
)
  • Loading branch information
beppemarazzi authored Jul 23, 2024
1 parent c462530 commit 6b278dc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib/connect/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,11 @@ function connectAsync(
brokerUrl: string,
opts?: IClientOptions,
): Promise<MqttClient>
function connectAsync(
brokerUrl: string,
opts: IClientOptions,
allowRetries: boolean,
): Promise<MqttClient>
function connectAsync(
brokerUrl: string | IClientOptions,
opts?: IClientOptions,
Expand Down

0 comments on commit 6b278dc

Please sign in to comment.