Add typedef
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Alessio Davoli 2023-12-18 15:56:52 +01:00
parent bd12df0b8a
commit 094dd5b070

View file

@ -31,7 +31,7 @@
maximumAge: 0,
};
function success(pos) {
function success(pos: GeolocationPosition) {
const crd = pos.coords;
let string = "";
@ -82,7 +82,7 @@
await watchPosition();
leaflet = await import('leaflet');
renderMap()
renderMap();
});
onDestroy(async () => {