X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcharging-station%2FUIWebSocketServer.ts;h=96e9a96896be609ff4a09760c33900886e3aa473;hb=1d4ad05181ef93c9ea15c25fbd13c6ea22ff35dc;hp=dba59e9206b4a32583c049bc64d4154abb5d5fd4;hpb=383cb2aee597e711f037c9f67151191bb233a91c;p=e-mobility-charging-stations-simulator.git diff --git a/src/charging-station/UIWebSocketServer.ts b/src/charging-station/UIWebSocketServer.ts index dba59e92..96e9a968 100644 --- a/src/charging-station/UIWebSocketServer.ts +++ b/src/charging-station/UIWebSocketServer.ts @@ -23,7 +23,7 @@ export default class UIWebSocketServer extends Server { } } - public broadcastToClients(message: string | Record): void { + public broadcastToClients(message: string): void { for (const client of this.clients) { if (client?.readyState === OPEN) { client.send(message);