mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
refactor(core): avoid using def.signal during component id computation (#50238)
This commit updates the code in 16.0.x branch to avoid using the `def.signals` field on a component, while calculating component id. The `signal` field was introduced later and will be available in 16.1.0. PR Close #50238
This commit is contained in:
@@ -689,7 +689,6 @@ function getComponentId(componentDef: ComponentDef<unknown>): string {
|
||||
componentDef.decls,
|
||||
componentDef.encapsulation,
|
||||
componentDef.standalone,
|
||||
componentDef.signals,
|
||||
componentDef.exportAs,
|
||||
componentDef.inputs,
|
||||
componentDef.outputs,
|
||||
|
||||
Reference in New Issue
Block a user