mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
2c87f21abe
This is a follow-up to #67381 which introduced a subtle bug where depending on the type checking configuration, we may put an object literal directly in the TCB body which the TS compiler ends up interpreting as a block. These changes resolve the issue by always wrapping the literal in parentheses.