-
Notifications
You must be signed in to change notification settings - Fork 26.5k
Closed
Labels
area: compilerIssues related to `ngc`, Angular's template compilerIssues related to `ngc`, Angular's template compilercore: deferIssues related to @defer blocks.Issues related to @defer blocks.state: has PR
Milestone
Description
Which @angular/* package(s) are the source of the bug?
compiler-cli
Is this a regression?
Yes
Description
I get an error on runtime that type is undefined. It happens in a page that uses the defer block. If I revert the upgrade it works fine. I think it's related to the compiler cli package.
export function getComponentDef<T>(type: any): ComponentDef<T>|null {
return type[NG_COMP_DEF] || null;
}
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
area: compilerIssues related to `ngc`, Angular's template compilerIssues related to `ngc`, Angular's template compilercore: deferIssues related to @defer blocks.Issues related to @defer blocks.state: has PR