fix(ui): fix path to configuration file template
[e-mobility-charging-stations-simulator.git] / src / worker / WorkerDynamicPool.ts
index 6574dcc25b24edbaf51c4a838fd0419840dbd5b1..817536f0237251b88af5c242fb0800914e4574d5 100644 (file)
@@ -38,7 +38,7 @@ export class WorkerDynamicPool extends WorkerAbstract<WorkerData> {
   }
 
   get emitter (): EventEmitterAsyncResource | undefined {
-    return this.pool?.emitter
+    return this.pool.emitter
   }
 
   /** @inheritDoc */