Skip to content

Commit cd622ee

Browse files
committed
Complete migration to Svelte 4
1 parent 8a33887 commit cd622ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/components/util/Icon.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script lang="ts">
2-
import type { SvelteComponent } from 'svelte';
2+
import type { ComponentType, SvelteComponent } from 'svelte';
33
44
import Check from '$lib/icons/Check.svelte';
55
import GitHub from '$lib/icons/GitHub.svelte';
@@ -10,7 +10,7 @@
1010
import Twitter from '$lib/icons/Twitter.svelte';
1111
import Warning from '$lib/icons/Warning.svelte';
1212
13-
const icons: { [key: string]: typeof SvelteComponent } = {
13+
const icons: { [key: string]: ComponentType<SvelteComponent> } = {
1414
check: Check,
1515
logo: Logo,
1616
newtab: NewTab,

0 commit comments

Comments
 (0)