File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/svelte/src/compiler/phases/3-transform/client/visitors Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,6 @@ import * as b from '../../../../utils/builders.js';
1010export function SvelteBoundary ( node , context ) {
1111 const props = b . object ( [ ] ) ;
1212
13- /** @type {Statement[] } */
14- const snippet_statements = [ ] ;
15-
1613 for ( const attribute of node . attributes ) {
1714 if ( attribute . type !== 'Attribute' || attribute . value === true ) {
1815 // these can't exist, because they would have caused validation
@@ -35,6 +32,9 @@ export function SvelteBoundary(node, context) {
3532
3633 const nodes = [ ] ;
3734
35+ /** @type {Statement[] } */
36+ const snippet_statements = [ ] ;
37+
3838 // Capture the `failed` implicit snippet prop
3939 for ( const child of node . fragment . nodes ) {
4040 if ( child . type === 'SnippetBlock' && child . expression . name === 'failed' ) {
You can’t perform that action at this time.
0 commit comments