Skip to content

Commit

Permalink
fix(type): add properties type for IClientSubscribeOptions (#1378)
Browse files Browse the repository at this point in the history
Co-authored-by: YuShifan <894402575bt@gmail.com>
  • Loading branch information
Yoseph Maguire and ysfscream authored Dec 21, 2021
1 parent e1aa949 commit 8de9394
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion types/lib/client-options.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,14 @@ export interface IClientSubscribeOptions {
/*
* Retain Handling option
* */
rh?: number
rh?: number,
/*
* MQTT 5.0 properies object of subscribe
* */
properties?: {
subscriptionIdentifier?: number,
userProperties?: UserProperties
}
}
export interface IClientReconnectOptions {
/**
Expand Down

0 comments on commit 8de9394

Please sign in to comment.