]> git.r.bdr.sh - rbdr/forum/blobdiff - src/routes/f/[id].svelte
Collect coverage in tests
[rbdr/forum] / src / routes / f / [id].svelte
index eb65c22c7446d697309e26eee97e844295ff4a2e..b235e21ecb02d58d12a94a53651d9d4c0fb65cfa 100644 (file)
@@ -1,12 +1,12 @@
-<script context="module">
+<script lang="ts" context="module">
        export const load = ({
        export const load = ({
-         page: {
-           params: { id }
-         }
+               page: {
+                       params: { id }
+               }
        }) => ({ props: { id } });
 </script>
 
        }) => ({ props: { id } });
 </script>
 
-<script>
+<script lang="ts">
        import { _ } from 'svelte-i18n';
        import Forum from '$lib/components/forum/forum.svelte';
        import ErrorBlock from '$lib/components/error_block/error_block.svelte';
        import { _ } from 'svelte-i18n';
        import Forum from '$lib/components/forum/forum.svelte';
        import ErrorBlock from '$lib/components/error_block/error_block.svelte';