Strict null check fixes
[e-mobility-charging-stations-simulator.git] / src / charging-station / Bootstrap.ts
index 8a161e54a66e210c9fd856b3cf06295e12db9b5a..ce1290dbc27462ad1d7cfc746954bb1191184f63 100644 (file)
@@ -39,7 +39,7 @@ enum exitCodes {
 export class Bootstrap {
   private static instance: Bootstrap | null = null;
   private workerImplementation: WorkerAbstract<ChargingStationWorkerData> | null;
-  private readonly uiServer!: AbstractUIServer;
+  private readonly uiServer!: AbstractUIServer | null;
   private readonly storage!: Storage;
   private numberOfChargingStationTemplates!: number | undefined;
   private numberOfChargingStations!: number;