Skip to content

Angular 12: synthesized constructors compiled by TS 4.2 are not recognized #41298

@JoostK

Description

@JoostK

TS 4.2 has changed its emit for spread helpers, from __spread/__spreadArrays to __spreadArray. ngcc was updated to handle this in #41201, but a new problem was identified in stackblitz/core#1405 where synthesized constructors are no longer recognized correctly for ES5/UMD bundles, both in ngcc and in JIT's reflection capabilities.

Metadata

Metadata

Assignees

Labels

P2The issue is important to a large percentage of users, with a workaroundarea: compilerIssues related to `ngc`, Angular's template compiler

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions