mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
60afe88bcc
The defineInjector function specifies its providers and imports array to be optional, so if no providers/imports are present these keys may be omitted. This commit updates the compiler to only generate the keys when necessary. PR Close #29598