From 50fb0298a0efa3da95fe9a67ba87e20295b30f6e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 8 Dec 2023 23:43:09 +0100 Subject: [PATCH] refactor: silence TS type casting error MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/charging-station/ChargingStation.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/charging-station/ChargingStation.ts b/src/charging-station/ChargingStation.ts index b09134f8..622eef71 100644 --- a/src/charging-station/ChargingStation.ts +++ b/src/charging-station/ChargingStation.ts @@ -91,7 +91,6 @@ import { type HeartbeatResponse, type IncomingRequest, type IncomingRequestCommand, - type JsonType, MessageType, MeterValueMeasurand, type MeterValuesRequest, @@ -1827,7 +1826,7 @@ export class ChargingStation extends EventEmitter { messageType, )} is not an array`, undefined, - cachedRequest as JsonType, + cachedRequest, ); } -- 2.34.1