We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d4144d commit 1f2cf7fCopy full SHA for 1f2cf7f
types/index.d.ts
@@ -49,7 +49,7 @@ export interface IConnectPacket extends IPacket {
49
password?: Buffer
50
will?: {
51
topic: string
52
- payload: Buffer
+ payload: Buffer | string
53
qos?: QoS
54
retain?: boolean
55
properties?: {
0 commit comments