Initial portage to TypeScript.
[e-mobility-charging-stations-simulator.git] / src / charging-station / StationWorker.ts
similarity index 53%
rename from src/charging-station/StationWorker.js
rename to src/charging-station/StationWorker.ts
index f306c6ec42994d23d0eb9ddc8b2b960e996a7dcd..f54334e952d4cb86e0f50557209e87757c68b2a1 100644 (file)
@@ -1,6 +1,6 @@
-import {isMainThread, workerData} from 'worker_threads';
+import { isMainThread, workerData } from 'worker_threads';
 
-import ChargingStation from './ChargingStation.js';
+import ChargingStation from './ChargingStation';
 
 if (!isMainThread) {
   const station = new ChargingStation(workerData.index, workerData.templateFile);