pull/16723/head
baseballyama 2 weeks ago
parent b5b61608f3
commit 125044d090

@ -283,6 +283,8 @@ export type DeclarationKind =
| 'var' | 'var'
| 'let' | 'let'
| 'const' | 'const'
| 'using'
| 'await using'
| 'function' | 'function'
| 'import' | 'import'
| 'param' | 'param'

@ -619,7 +619,8 @@ export function import_all(as, source) {
return { return {
type: 'ImportDeclaration', type: 'ImportDeclaration',
source: literal(source), source: literal(source),
specifiers: [import_namespace(as)] specifiers: [import_namespace(as)],
attributes: []
}; };
} }
@ -636,7 +637,8 @@ export function imports(parts, source) {
type: 'ImportSpecifier', type: 'ImportSpecifier',
imported: id(p[0]), imported: id(p[0]),
local: id(p[1]) local: id(p[1])
})) })),
attributes: []
}; };
} }

Loading…
Cancel
Save