Flag some attributes readonly
[e-mobility-charging-stations-simulator.git] / src / performance / PerformanceStatistics.ts
index 70f9bafdbaedcc704c37eb5ae9d8447c68d489f8..56f8c0429e4ec532a4ee40f4bfe4ce94b761c967 100644 (file)
@@ -14,9 +14,9 @@ import logger from '../utils/Logger';
 import { parentPort } from 'worker_threads';
 
 export default class PerformanceStatistics {
-  private objId: string;
+  private readonly objId: string;
   private performanceObserver: PerformanceObserver;
-  private statistics: Statistics;
+  private readonly statistics: Statistics;
   private displayInterval: NodeJS.Timeout;
 
   public constructor(objId: string, URI: URL) {