@@ -796,7 +796,7 @@ export function claim_html_tag(nodes, is_svg) {
796796 const start_index = find_comment ( nodes , 'HTML_TAG_START' , 0 ) ;
797797 const end_index = find_comment ( nodes , 'HTML_TAG_END' , start_index ) ;
798798 if ( start_index === end_index ) {
799- return new HtmlTagHydration ( undefined , is_svg ) ;
799+ return new HtmlTagHydration ( is_svg ) ;
800800 }
801801 init_claim_info ( nodes ) ;
802802 const html_tag_nodes = nodes . splice ( start_index , end_index - start_index + 1 ) ;
@@ -807,7 +807,7 @@ export function claim_html_tag(nodes, is_svg) {
807807 n . claim_order = nodes . claim_info . total_claimed ;
808808 nodes . claim_info . total_claimed += 1 ;
809809 }
810- return new HtmlTagHydration ( claimed_nodes , is_svg ) ;
810+ return new HtmlTagHydration ( is_svg , claimed_nodes ) ;
811811}
812812
813813/**
@@ -1134,13 +1134,11 @@ export class HtmlTag {
11341134 }
11351135}
11361136
1137- /**
1138- * @extends HtmlTag */
11391137export class HtmlTagHydration extends HtmlTag {
1140- // hydration claimed nodes
1141- /** */
1138+ /** @type {Element[] } hydration claimed nodes */
11421139 l = undefined ;
1143- constructor ( claimed_nodes , is_svg = false ) {
1140+
1141+ constructor ( is_svg = false , claimed_nodes ) {
11441142 super ( is_svg ) ;
11451143 this . e = this . n = null ;
11461144 this . l = claimed_nodes ;
0 commit comments