build(deps-dev): apply updates
[e-mobility-charging-stations-simulator.git] / src / charging-station / ui-server / AbstractUIServer.ts
index 8bd45e68850f30e0869f72c73fba866f30820627..5dbe5b20dab588c875f36459c4adba0dedb46d21 100644 (file)
@@ -49,7 +49,9 @@ export abstract class AbstractUIServer {
   public async sendInternalRequest(request: ProtocolRequest): Promise<ProtocolResponse> {
     const protocolVersion = ProtocolVersion['0.0.1'];
     this.registerProtocolVersionUIService(protocolVersion);
-    return this.uiServices.get(protocolVersion)?.requestHandler(request);
+    return this.uiServices
+      .get(protocolVersion)
+      ?.requestHandler(request) as Promise<ProtocolResponse>;
   }
 
   public hasResponseHandler(id: string): boolean {