Make more of the codebase conform to strict types (#10857)

This commit is contained in:
Michael Telatynski
2023-05-16 14:25:43 +01:00
committed by GitHub
parent 7f017a84c2
commit 6a3f59cc76
45 changed files with 127 additions and 121 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ export const useOwnLiveBeacons = (liveBeaconIds: BeaconIdentifier[]): LiveBeacon
// select the beacon with latest expiry to display expiry time
const beacon = liveBeaconIds
.map((beaconId) => OwnBeaconStore.instance.getBeaconById(beaconId))
.map((beaconId) => OwnBeaconStore.instance.getBeaconById(beaconId)!)
.sort(sortBeaconsByLatestExpiry)
.shift();