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';
/**
* 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);