Skip to content

Commit

Permalink
Merge pull request #25 from flodan/fix/add-async-connect-to-types
Browse files Browse the repository at this point in the history
Add 'connectAsync' method to types
  • Loading branch information
RangerMauve committed Aug 19, 2019
2 parents e668423 + 03565b7 commit 9cc1bc1
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 9cc1bc1

Please sign in to comment.