Fix: correct typings

This commit is contained in:
Pieter Vander Vennet 2024-01-11 15:22:45 +01:00
parent e71ae91e2c
commit 2f17e6e532
2 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@
import Translations from "../i18n/Translations"
import LoginToggle from "../Base/LoginToggle.svelte"
export let tags: Store<OsmTags>
export let tags: UIEventSource<OsmTags>
export let state: SpecialVisualizationState
export let lon: number
export let lat: number

View file

@ -1,5 +1,5 @@
<script lang="ts">
import { Store } from "../../Logic/UIEventSource"
import { UIEventSource } from "../../Logic/UIEventSource"
import type { OsmTags } from "../../Models/OsmFeature"
import type { SpecialVisualizationState } from "../SpecialVisualization"
import type { Feature } from "geojson"
@ -12,7 +12,7 @@
import LoginToggle from "../Base/LoginToggle.svelte"
import { ariaLabel } from "../../Utils/ariaLabel"
export let tags: Store<OsmTags>
export let tags: UIEventSource<OsmTags>
export let state: SpecialVisualizationState
export let lon: number
export let lat: number