Files
angular__angular/packages/core
Alex Rickabaugh dc65e3656f fix(core): accept readonly arrays for setClassMetadata decorators
When reflection metadata is emitted via setClassMetadata, passing readonly arrays or const tuples for the decorators parameter causes TypeScript type checking errors because setClassMetadata previously expected decorators to be a mutable any[] or null.

This change updates the setClassMetadata type signature to accept decorators as readonly any[] or null and casts the parameter internally when mutating the class metadata property.
2026-08-13 13:33:07 -07:00
..
2025-11-06 10:03:05 -08:00