Update dependency typescript to v5.8.2 (#29417)

* Update dependency typescript to v5.8.2

* Fix types

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
renovate[bot]
2025-03-04 15:01:20 +00:00
committed by GitHub
co-authored by renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Michael Telatynski
parent dfdac8ef63
commit 1770b94ed3
5 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -18,5 +18,5 @@ export const locationEventGeoUri = (mxEvent: MatrixEvent): string => {
// https://github.com/matrix-org/matrix-doc/issues/3516
const content = mxEvent.getContent();
const loc = M_LOCATION.findIn(content) as { uri?: string };
return loc ? loc.uri : content["geo_uri"];
return loc?.uri ?? content["geo_uri"];
};