From b02748deb77df2b0f4b29794f8682c93da68d83f Mon Sep 17 00:00:00 2001 From: madkarmaa Date: Thu, 13 Nov 2025 15:06:41 +0100 Subject: [PATCH] refactor: simplify type --- src/lib/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/types.ts b/src/lib/types.ts index 5182ddf..49df56c 100644 --- a/src/lib/types.ts +++ b/src/lib/types.ts @@ -1,4 +1,4 @@ import type { Snippet } from 'svelte'; -export type WithChildren = { children: Snippet<[]> }; +export type WithChildren = { children: Snippet }; export type WithOptionalChildren = Partial;