refactor: switch eslint configuration to strict type checking
[e-mobility-charging-stations-simulator.git] / src / charging-station / ui-server / ui-services / AbstractUIService.ts
index 847401013e606759a98dde88ab295a7c6b80e08d..a4edbcaa1ac2b9195b9ff19bec57697530586c41 100644 (file)
@@ -164,7 +164,7 @@ export abstract class AbstractUIService {
     if (isNotEmptyArray(payload.hashIds)) {
       payload.hashIds = payload.hashIds
         ?.map((hashId) => {
-          if (hashId != null && this.uiServer.chargingStations.has(hashId)) {
+          if (this.uiServer.chargingStations.has(hashId)) {
             return hashId
           }
           logger.warn(