@@ -796,7 +796,7 @@ export function claim_html_tag(nodes, is_svg) {
796796const start_index = find_comment ( nodes , 'HTML_TAG_START' , 0 ) ;
797797const end_index = find_comment ( nodes , 'HTML_TAG_END' , start_index ) ;
798798if ( start_index === end_index ) {
799- return new HtmlTagHydration ( undefined , is_svg ) ;
799+ return new HtmlTagHydration ( is_svg ) ;
800800}
801801init_claim_info ( nodes ) ;
802802const html_tag_nodes = nodes . splice ( start_index , end_index - start_index + 1 ) ;
@@ -807,7 +807,7 @@ export function claim_html_tag(nodes, is_svg) {
807807n . claim_order = nodes . claim_info . total_claimed ;
808808nodes . 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 */
11421139l = undefined ;
1143- constructor ( claimed_nodes , is_svg = false ) {
1140+
1141+ constructor ( is_svg = false , claimed_nodes ) {
11441142super ( is_svg ) ;
11451143this . e = this . n = null ;
11461144this . l = claimed_nodes ;
0 commit comments