Skip to content

Commit

Permalink
fix(types): allow will payload to be string (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
Boudewijn26 authored Mar 25, 2024
1 parent 0d4144d commit 1f2cf7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export interface IConnectPacket extends IPacket {
password?: Buffer
will?: {
topic: string
payload: Buffer
payload: Buffer | string
qos?: QoS
retain?: boolean
properties?: {
Expand Down

0 comments on commit 1f2cf7f

Please sign in to comment.