angular: Defer blocks export default regression after upgrading to v17.2

Which @angular/* package(s) are the source of the bug?


Is this a regression?



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

About this issue

  • Original URL
  • State: closed
  • Created 4 months ago
  • Comments: 18 (6 by maintainers)

Commits related to this issue

Most upvoted comments

Yes, I can confirm it’s some regression when using export default.