Apply dependencies update
[e-mobility-charging-stations-simulator.git] / src / worker / WorkerAbstract.ts
index 715778161af13b59bed90aa2805b0120451c64b8..fa28597c55784d585fcec7231f0aea69e298bee1 100644 (file)
@@ -4,14 +4,14 @@ import { WorkerData } from '../types/Worker';
 export default abstract class WorkerAbstract {
   protected readonly workerScript: string;
   protected readonly workerStartDelay: number;
-  public abstract size: number;
-  public abstract maxElementsPerWorker: number | null;
+  public abstract readonly size: number;
+  public abstract readonly maxElementsPerWorker: number | null;
 
   /**
    * `WorkerAbstract` constructor.
    *
-   * @param {string} workerScript
-   * @param {number} workerStartDelay
+   * @param workerScript
+   * @param workerStartDelay
    */
   constructor(workerScript: string, workerStartDelay: number = Constants.WORKER_START_DELAY) {
     this.workerScript = workerScript;