- const file = ChargingStationUtils.getIdTagsFile(chargingStation.stationInfo);
- const idTags = this.getIdTags(file);
- const hashId = chargingStation.stationInfo.hashId;
- const addressableKey = this.getIdTagsCacheIndexesAddressableKey(file, hashId);
+ const file = getIdTagsFile(chargingStation.stationInfo)!;
+ const idTags = this.getIdTags(file)!;
+ const addressableKey = this.getIdTagsCacheIndexesAddressableKey(
+ file,
+ chargingStation.stationInfo.hashId,
+ );