From 30efe6295ce8d26d1ec60c5791b2c2111978549d Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 16 Apr 2026 03:41:34 +0200 Subject: [PATCH] fix(common): restore wsState type as numeric literal union --- ui/common/src/types/ChargingStationType.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/common/src/types/ChargingStationType.ts b/ui/common/src/types/ChargingStationType.ts index 59b534f0..a79080b2 100644 --- a/ui/common/src/types/ChargingStationType.ts +++ b/ui/common/src/types/ChargingStationType.ts @@ -159,7 +159,7 @@ export interface ChargingStationData extends JsonObject { started: boolean stationInfo: ChargingStationInfo supervisionUrl: string - wsState?: typeof WebSocket.CLOSED + wsState?: 0 | 1 | 2 | 3 } export interface ChargingStationInfo extends JsonObject { -- 2.53.0