You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(jit+aot): ctorParameters and AOT propDecorators should include every @angular/core decorator, not just the name list #538
Follow-up from #522 / #537 — same class of divergence on sibling paths.
Problem
ngtsc's isAngularDecorator gate is import-only: decorator.import.from === '@angular/core' (no name check). OXC now matches this for JIT propDecorators (#537), but three sibling paths still filter decorators by a hard-coded name list, so @angular/core decorators whose names aren't listed are silently dropped:
Concrete divergence: @Component() or @Foo imported from @angular/core on a ctor param / member is listed by ngtsc in ctorParameters/propDecorators, but OXC drops it (AOT) or lowers it via __param/__decorate (JIT).
Expected
Use the import check (the new is_angular_core_decorator added in #537, or the equivalent ctor-param helper) instead of the name lists on these three paths — same rule ngtsc applies everywhere.
Activity