From cb6bdcb2c6c9e23f87bb24dbd1458eb0509cb02f Mon Sep 17 00:00:00 2001 From: oceanlvr <36698124+oceanlvr@users.noreply.github.com> Date: Mon, 13 Dec 2021 21:14:38 +0800 Subject: [PATCH] fix(type): fix push properties types (#1359) --- types/lib/client-options.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/lib/client-options.d.ts b/types/lib/client-options.d.ts index a8cf962d6..f3bcbb066 100644 --- a/types/lib/client-options.d.ts +++ b/types/lib/client-options.d.ts @@ -149,9 +149,9 @@ export interface IClientPublishOptions { * MQTT 5.0 properties object */ properties?: { - payloadFormatIndicator?: number, + payloadFormatIndicator?: boolean, messageExpiryInterval?: number, - topicAlias?: string, + topicAlias?: number, responseTopic?: string, correlationData?: Buffer, userProperties?: UserProperties,