Update dependency typescript to v5.6.2 (#71)
* Update dependency typescript to v5.6.2 * Fix TS errors --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Florian Duros <florian.duros@ormaz.fr>
This commit is contained in:
@@ -32,7 +32,7 @@ export const parseGeoUri = (uri: string): GeolocationCoordinates | undefined =>
|
||||
return;
|
||||
}
|
||||
|
||||
return {
|
||||
const geoCoords = {
|
||||
latitude: latitude!,
|
||||
longitude: longitude!,
|
||||
altitude: parse(coords[2]),
|
||||
@@ -41,4 +41,9 @@ export const parseGeoUri = (uri: string): GeolocationCoordinates | undefined =>
|
||||
heading: null,
|
||||
speed: null,
|
||||
};
|
||||
|
||||
return {
|
||||
toJSON: () => geoCoords,
|
||||
...geoCoords,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user