From f5f1258f5cc5e741f3f19a70bb289a4298101c07 Mon Sep 17 00:00:00 2001 From: Simon Holthausen Date: Thu, 21 Nov 2024 13:30:21 +0100 Subject: [PATCH] fix --- packages/svelte2tsx/src/htmlxtojsx_v2/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/svelte2tsx/src/htmlxtojsx_v2/index.ts b/packages/svelte2tsx/src/htmlxtojsx_v2/index.ts index 66d191902..2e5ac14d3 100644 --- a/packages/svelte2tsx/src/htmlxtojsx_v2/index.ts +++ b/packages/svelte2tsx/src/htmlxtojsx_v2/index.ts @@ -260,7 +260,7 @@ export function convertHtmlxToJsx( type: 'BlockStatement', start: -1, end: -1, - body: node.children + body: node.children as any[] // wrong AST, but periscopic doesn't care } });