README.md: small refinement
[e-mobility-charging-stations-simulator.git] / src / types / ChargingStationWorker.ts
index 155a353a0d61efb84bf894de867a86fb8c233a03..f5a0206da23247bde4805f7ce87b7f2316027bb4 100644 (file)
@@ -15,17 +15,19 @@ export interface ChargingStationWorkerData extends WorkerData {
 enum InternalChargingStationWorkerMessageEvents {
   STARTED = 'started',
   STOPPED = 'stopped',
-  PERFORMANCE_STATISTICS = 'performanceStatistics'
+  PERFORMANCE_STATISTICS = 'performanceStatistics',
 }
 
-export type ChargingStationWorkerMessageEvents = WorkerMessageEvents | InternalChargingStationWorkerMessageEvents;
+export type ChargingStationWorkerMessageEvents =
+  | WorkerMessageEvents
+  | InternalChargingStationWorkerMessageEvents;
 
 export const ChargingStationWorkerMessageEvents = {
   ...WorkerMessageEvents,
-  ...InternalChargingStationWorkerMessageEvents
+  ...InternalChargingStationWorkerMessageEvents,
 };
 
-
-export interface ChargingStationWorkerMessage extends Omit<WorkerMessage<ChargingStationWorkerData>, 'id'> {
+export interface ChargingStationWorkerMessage
+  extends Omit<WorkerMessage<ChargingStationWorkerData>, 'id'> {
   id: ChargingStationWorkerMessageEvents;
 }