More import type usage
[e-mobility-charging-stations-simulator.git] / src / charging-station / ChargingStationWorker.ts
index 58f1327ab862fa7b1042ab6495834bd1543fcbc3..d032407533830eb86554c29450f63bfb1923e273 100644 (file)
@@ -5,7 +5,7 @@ import { parentPort, workerData } from 'worker_threads';
 import { ThreadWorker } from 'poolifier';
 
 import type { ChargingStationWorkerData } from '../types/ChargingStationWorker';
-import { WorkerMessage, WorkerMessageEvents } from '../types/Worker';
+import { type WorkerMessage, WorkerMessageEvents } from '../types/Worker';
 import Utils from '../utils/Utils';
 import WorkerConstants from '../worker/WorkerConstants';
 import ChargingStation from './ChargingStation';
@@ -40,7 +40,7 @@ function addMessageListener(): void {
 /**
  * Create and start a charging station instance
  *
- * @param data workerData
+ * @param data workerData
  */
 function startChargingStation(data: ChargingStationWorkerData): void {
   const station = new ChargingStation(data.index, data.templateFile);