From b801dac6c5acfc6f408b3ac5b3622e0bdf87278b 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 2ab176b7acf0dc..692fd0dffea27d 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 ] );