Skip to content

Commit 8de9394

Browse files
Yoseph Maguireysfscream
Yoseph Maguire
andauthoredDec 21, 2021
fix(type): add properties type for IClientSubscribeOptions (#1378)
Co-authored-by: YuShifan <894402575bt@gmail.com>
1 parent e1aa949 commit 8de9394

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed
 

‎types/lib/client-options.d.ts

+8-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,14 @@ export interface IClientSubscribeOptions {
179179
/*
180180
* Retain Handling option
181181
* */
182-
rh?: number
182+
rh?: number,
183+
/*
184+
* MQTT 5.0 properies object of subscribe
185+
* */
186+
properties?: {
187+
subscriptionIdentifier?: number,
188+
userProperties?: UserProperties
189+
}
183190
}
184191
export interface IClientReconnectOptions {
185192
/**

0 commit comments

Comments
 (0)
Please sign in to comment.