From: Jérôme Benoit Date: Thu, 16 Apr 2026 01:41:34 +0000 (+0200) Subject: fix(common): restore wsState type as numeric literal union X-Git-Tag: cli@v4.5.0~68 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=30efe6295ce8d26d1ec60c5791b2c2111978549d;p=e-mobility-charging-stations-simulator.git fix(common): restore wsState type as numeric literal union --- 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 {