@@ -210,6 +210,10 @@ export function* convertChildren(
210
210
yield convertDocumentElement ( child , parent , ctx ) ;
211
211
continue ;
212
212
}
213
+ if ( child . type === "SvelteBoundary" ) {
214
+ yield convertSvelteBoundaryElement ( child , parent , ctx ) ;
215
+ continue ;
216
+ }
213
217
214
218
throw new Error ( `Unknown type:${ child . type } ` ) ;
215
219
}
@@ -415,7 +419,8 @@ function convertSpecialElement(
415
419
| Compiler . SvelteDocument
416
420
| Compiler . SvelteFragment
417
421
| Compiler . SvelteSelf
418
- | Compiler . SvelteOptionsRaw ,
422
+ | Compiler . SvelteOptionsRaw
423
+ | Compiler . SvelteBoundary ,
419
424
parent : SvelteSpecialElement [ "parent" ] ,
420
425
ctx : Context ,
421
426
) : SvelteSpecialElement {
@@ -898,6 +903,15 @@ function convertSlotTemplateElement(
898
903
return convertSpecialElement ( node , parent , ctx ) ;
899
904
}
900
905
906
+ /** Convert for <svelte:boundary> element. */
907
+ function convertSvelteBoundaryElement (
908
+ node : Compiler . SvelteBoundary ,
909
+ parent : SvelteSpecialElement [ "parent" ] ,
910
+ ctx : Context ,
911
+ ) : SvelteSpecialElement {
912
+ return convertSpecialElement ( node , parent , ctx ) ;
913
+ }
914
+
901
915
/** Extract element tag and tokens */
902
916
export function extractElementTags <
903
917
E extends SvelteScriptElement | SvelteElement | SvelteStyleElement ,
0 commit comments