We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
importDeclaration
1 parent 3693c04 commit 1f16670Copy full SHA for 1f16670
packages/@lwc/template-compiler/src/shared/estree.ts
@@ -384,14 +384,13 @@ export function variableDeclaration(
384
385
export function importDeclaration(
386
specifiers: t.ImportDeclaration['specifiers'],
387
- source: t.ImportDeclaration['source'],
388
- config?: Partial<t.ImportDeclaration>
+ source: t.ImportDeclaration['source']
389
): t.ImportDeclaration {
390
return {
391
type: 'ImportDeclaration',
392
specifiers,
393
source,
394
- ...config,
+ attributes: [],
395
};
396
}
397
0 commit comments