Spelling
[e-mobility-charging-stations-simulator.git] / src / types / WebSocket.ts
index 0799f7b4e0f8023f64c22d5c7daab3cb37c2e40f..8fedf7b4d37da4d7de00c330dcdb1df420cedbfe 100644 (file)
@@ -1,4 +1,4 @@
-export const WebSocketCloseEventStatusString: Record<number, string> = Object.freeze({
+export const WebSocketCloseEventStatusString: Record<WebSocketCloseEventStatusCode, string> = Object.freeze({
   1000: 'Normal Closure',
   1001: 'Going Away',
   1002: 'Protocol Error',