From 3dfe396a88e0713395107c3590c6e370777a6c76 Mon Sep 17 00:00:00 2001 From: Dustin Carlino Date: Sat, 30 Dec 2023 15:05:23 +0900 Subject: [PATCH] Whittle down TS errors --- web/src/App.svelte | 15 ++++------ web/src/ManageSavefiles.svelte | 6 ++-- web/src/MapLoader.svelte | 2 +- web/src/NeighbourhoodMode.svelte | 38 +++++++++++++++---------- web/src/RenderNeighbourhood.svelte | 16 ++++++----- web/src/SetBoundaryMode.svelte | 5 ++-- web/src/ViewShortcutsMode.svelte | 10 +++---- web/src/common/OverpassSelector.svelte | 1 + web/src/common/RouteSnapperLayer.svelte | 1 - web/src/common/index.ts | 7 +++++ web/src/common/route_tool.ts | 6 ++++ web/src/stores.ts | 4 +-- 12 files changed, 66 insertions(+), 45 deletions(-) diff --git a/web/src/App.svelte b/web/src/App.svelte index 45e5d15..d22d023 100644 --- a/web/src/App.svelte +++ b/web/src/App.svelte @@ -1,10 +1,8 @@ diff --git a/web/src/MapLoader.svelte b/web/src/MapLoader.svelte index 820862c..fa9c552 100644 --- a/web/src/MapLoader.svelte +++ b/web/src/MapLoader.svelte @@ -5,7 +5,7 @@ import { onMount } from "svelte"; import { Loading, OverpassSelector } from "./common"; import ManageSavefiles from "./ManageSavefiles.svelte"; - import { app, mode } from "./stores"; + import { app } from "./stores"; export let map: Map; diff --git a/web/src/NeighbourhoodMode.svelte b/web/src/NeighbourhoodMode.svelte index 906133c..bc14d29 100644 --- a/web/src/NeighbourhoodMode.svelte +++ b/web/src/NeighbourhoodMode.svelte @@ -1,6 +1,10 @@