File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
packages/svelte/src/compiler Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -283,6 +283,8 @@ export type DeclarationKind =
283283 | 'var'
284284 | 'let'
285285 | 'const'
286+ | 'using'
287+ | 'await using'
286288 | 'function'
287289 | 'import'
288290 | 'param'
Original file line number Diff line number Diff line change @@ -619,7 +619,8 @@ export function import_all(as, source) {
619619 return {
620620 type : 'ImportDeclaration' ,
621621 source : literal ( source ) ,
622- specifiers : [ import_namespace ( as ) ]
622+ specifiers : [ import_namespace ( as ) ] ,
623+ attributes : [ ]
623624 } ;
624625}
625626
@@ -636,7 +637,8 @@ export function imports(parts, source) {
636637 type : 'ImportSpecifier' ,
637638 imported : id ( p [ 0 ] ) ,
638639 local : id ( p [ 1 ] )
639- } ) )
640+ } ) ) ,
641+ attributes : [ ]
640642 } ;
641643}
642644
You can’t perform that action at this time.
0 commit comments