mirror of
https://github.com/angular/angular.git
synced 2026-11-23 07:05:14 -05:00
The readonly rule previously used 'when' in configOrLogic to determine if a configuration object was provided. Under property renaming/minification, the string literal property lookup fails and causes the rule to fall back to being permanently readonly. This change switches to the dot-access form (configOrLogic?.when), matching hidden() and ensuring property renaming works correctly.