X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2FWorkerBroadcastChannel.ts;h=abc33752cb10616fde5474a4f68c2843675a911c;hb=a2543ca46882bfddb35ffe325b0cb6cebff048ae;hp=d2afcb90944cad1ace9ba05a12e32ad03835eb1b;hpb=69074173770c04bc5e5aa744b655edf9491daa46;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/WorkerBroadcastChannel.ts b/src/types/WorkerBroadcastChannel.ts index d2afcb90..abc33752 100644 --- a/src/types/WorkerBroadcastChannel.ts +++ b/src/types/WorkerBroadcastChannel.ts @@ -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; +}