refactor: simplify type

This commit is contained in:
madkarmaa
2025-11-13 15:06:41 +01:00
parent e7fc9a8be9
commit b02748deb7

View File

@@ -1,4 +1,4 @@
import type { Snippet } from 'svelte';
export type WithChildren = { children: Snippet<[]> };
export type WithChildren = { children: Snippet };
export type WithOptionalChildren = Partial<WithChildren>;