-
Notifications
You must be signed in to change notification settings - Fork 27k
Closed
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: language-serviceIssues related to Angular's VS Code language serviceIssues related to Angular's VS Code language servicebugcross-cutting: standaloneIssues related to the NgModule-less worldIssues related to the NgModule-less worldstate: confirmed
Milestone
Description
Which @angular/* package(s) are the source of the bug?
language-service
Is this a regression?
No
Description
When I try to auto import a component that is exported as default :
export default class TestComponent {}the vscode plugin will import it as:
import { default } from "./test.component";
@Component({
template: `
<app-test />
`,
standalone: true,
imports: [default]
})
export class AppComponent {}This will make the build fail.
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in (run ng version)
No response
Anything else?
No response
Metadata
Metadata
Assignees
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: language-serviceIssues related to Angular's VS Code language serviceIssues related to Angular's VS Code language servicebugcross-cutting: standaloneIssues related to the NgModule-less worldIssues related to the NgModule-less worldstate: confirmed
