Skip to content

Commit a254daf

Browse files
committed
🛠️ Improve: use SvelteComponent instead of SvelteComponentTyped [#12]
`SvelteComponentTyped` is deprecated in Svelte 4. I gonna move to Svelte 4 in the future so. See also: sveltejs/svelte#8512
1 parent 135fb3d commit a254daf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routes/blog/articles/[slug]/Article.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script lang="ts">
2-
import type { SvelteComponentTyped } from 'svelte';
2+
import type { SvelteComponent } from 'svelte';
33
4-
export let body: typeof SvelteComponentTyped;
4+
export let body: typeof SvelteComponent;
55
</script>
66

77
<article><div><svelte:component this={body} /></div></article>

0 commit comments

Comments
 (0)