Apply strictNullChecks to src/utils/beacon/* (#10337)

* strictnullchecks fixes in utils/beacon

* user filterBoolean
This commit is contained in:
Kerry 2023-03-14 10:55:50 +13:00 committed by GitHub
parent 503df62191
commit 72404d7216
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 38 additions and 10 deletions

View file

@ -93,7 +93,7 @@ export const genericPositionFromGeolocation = (geoPosition: GeolocationPosition)
timestamp: Date.now(),
latitude,
longitude,
altitude,
altitude: altitude ?? undefined,
accuracy,
};
};