build: rollup -> esbuild
[e-mobility-charging-stations-simulator.git] / src / types / WorkerBroadcastChannel.ts
index d2afcb90944cad1ace9ba05a12e32ad03835eb1b..abc33752cb10616fde5474a4f68c2843675a911c 100644 (file)
@@ -3,7 +3,7 @@ import type { RequestPayload, ResponsePayload } from './UIProtocol';
 export type BroadcastChannelRequest = [
   string,
   BroadcastChannelProcedureName,
-  BroadcastChannelRequestPayload
+  BroadcastChannelRequestPayload,
 ];
 export type BroadcastChannelResponse = [string, BroadcastChannelResponsePayload];
 
@@ -37,4 +37,6 @@ export interface BroadcastChannelResponsePayload
   hashId: string;
 }
 
-export type MessageEvent = { data: BroadcastChannelRequest | BroadcastChannelResponse };
+export interface MessageEvent {
+  data: BroadcastChannelRequest | BroadcastChannelResponse;
+}