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 } });