fix linting issues

This commit is contained in:
vcoppe committed 2026-10-31 13:06:44 +01:00
1 parent fbfdc1933c
commit 957f0c35ec
10 files changed
+30 -31

No files matched your search

@@ -1,5 +1,5 @@
<script lang="ts">
import type { Popup } from 'maplibre-gl';
import type { MapMouseEvent, Popup } from 'maplibre-gl';
import * as Select from '$lib/components/ui/select';
import { Switch } from '$lib/components/ui/switch';
import { Label } from '$lib/components/ui/label/index.js';
@@ -58,7 +58,7 @@
// the tool works on files, routes, tracks and segments, not on waypoints
let validSelection = $derived(coversSegments($selection));
function createFileWithPoint(e: any) {
function createFileWithPoint(e: MapMouseEvent) {
if ($selection.type === 'empty') {
// the engine selects the new file, which starts with the trackpoint: one undo step
engine.newFile(newFileName(), { lng: e.lngLat.lng, lat: e.lngLat.lat });