From 65491b9fe897d7a37db51470b4dadfcb0e1c5c2a Mon Sep 17 00:00:00 2001 From: Jon Surrell Date: Wed, 10 Apr 2024 19:31:49 +0200 Subject: [PATCH] I hate it --- packages/interactivity/src/vdom.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/interactivity/src/vdom.ts b/packages/interactivity/src/vdom.ts index 2ab176b7acf0d..692fd0dffea27 100644 --- a/packages/interactivity/src/vdom.ts +++ b/packages/interactivity/src/vdom.ts @@ -106,7 +106,7 @@ export function toVdom( root: Node ): [ string | VNode | null, Node | null ] { namespaces.push( typeof value === 'string' ? value - : value?.namespace ?? null + : ( value as any )?.namespace ?? null ); } else { directives.push( [ n, ns, value ] );