Skip to content

Commit

Permalink
fix: add 'connectAsync' method to types
Browse files Browse the repository at this point in the history
  • Loading branch information
flodan committed Aug 19, 2019
1 parent e668423 commit 03565b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,6 @@ export declare class AsyncMqttClient extends MqttClient {
}

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

export { AsyncMqttClient as AsyncClient }

0 comments on commit 03565b7

Please sign in to comment.