Fix: typing

This commit is contained in:
Pieter Vander Vennet 2024-12-17 04:05:15 +01:00
parent ef1d2c9f56
commit 565e92a37d

View file

@ -1,12 +1,12 @@
<script lang="ts"> <script lang="ts">
import { Store } from "../../Logic/UIEventSource.js" import { Store, UIEventSource } from "../../Logic/UIEventSource.js"
import type { ProvidedImage } from "../../Logic/ImageProviders/ImageProvider" import type { ProvidedImage } from "../../Logic/ImageProviders/ImageProvider"
import type { SpecialVisualizationState } from "../SpecialVisualization" import type { SpecialVisualizationState } from "../SpecialVisualization"
import DeletableImage from "./DeletableImage.svelte" import DeletableImage from "./DeletableImage.svelte"
export let images: Store<ProvidedImage[]> export let images: Store<ProvidedImage[]>
export let state: SpecialVisualizationState export let state: SpecialVisualizationState
export let tags: Store<Record<string, string>> export let tags: UIEventSource<Record<string, string>>
</script> </script>
<div class="flex w-full space-x-2 overflow-x-auto" style="scroll-snap-type: x proximity"> <div class="flex w-full space-x-2 overflow-x-auto" style="scroll-snap-type: x proximity">