]> git.r.bdr.sh - rbdr/forum/blobdiff - src/lib/components/tag/tag.svelte
Use tailwind, reference types
[rbdr/forum] / src / lib / components / tag / tag.svelte
index 86d0b8290c30543b8b2922c0c0589f2f61f64da3..b3fe806a12757dd37a5fdf43954319a43083298f 100644 (file)
@@ -1,5 +1,7 @@
 <script lang="ts">
-       export let tag;
+       import type { Tag } from '$lib/data/types';
+
+       export let tag: Tag;
 
        import { _ } from 'svelte-i18n';
        import TopicSummary from '$lib/components/topic_summary/topic_summary.svelte';