MCPcopy Index your code
hub / github.com/angular/angular / componentNeedsResolution

Function componentNeedsResolution

packages/core/src/metadata/resource_loading.ts:131–137  ·  view source on GitHub ↗
(component: Component)

Source from the content-addressed store, hash-verified

129}
130
131export function componentNeedsResolution(component: Component): boolean {
132 return !!(
133 (component.templateUrl && !component.hasOwnProperty('template')) ||
134 component.styleUrls?.length ||
135 component.styleUrl
136 );
137}
138
139export function clearResolutionOfComponentResourcesQueue(): Map<Type<any>, Component> {
140 const old = componentResourceResolutionQueue;

Callers 2

compileComponentFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…