Skip to content

Commit 03565b7

Browse files
committed
fix: add 'connectAsync' method to types
1 parent e668423 commit 03565b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,6 @@ export declare class AsyncMqttClient extends MqttClient {
6868
}
6969

7070
export declare function connect (brokerUrl?: string | any, opts?: IClientOptions): AsyncMqttClient
71+
export declare function connectAsync (brokerUrl: string | any, opts?: IClientOptions, allowRetries?: boolean): Promise<AsyncMqttClient>
7172

7273
export { AsyncMqttClient as AsyncClient }

0 commit comments

Comments
 (0)