Initial commit
This commit is contained in:
10
node_modules/mqtt/build/lib/connect/index.d.ts
generated
vendored
Executable file
10
node_modules/mqtt/build/lib/connect/index.d.ts
generated
vendored
Executable file
@@ -0,0 +1,10 @@
|
||||
import MqttClient, { type IClientOptions } from '../client';
|
||||
declare function connect(brokerUrl: string): MqttClient;
|
||||
declare function connect(opts: IClientOptions): MqttClient;
|
||||
declare function connect(brokerUrl: string, opts?: IClientOptions): MqttClient;
|
||||
declare function connectAsync(brokerUrl: string): Promise<MqttClient>;
|
||||
declare function connectAsync(opts: IClientOptions): Promise<MqttClient>;
|
||||
declare function connectAsync(brokerUrl: string, opts?: IClientOptions): Promise<MqttClient>;
|
||||
declare function connectAsync(brokerUrl: string, opts: IClientOptions, allowRetries: boolean): Promise<MqttClient>;
|
||||
export default connect;
|
||||
export { connectAsync };
|
||||
Reference in New Issue
Block a user