MCPcopy Create free account
hub / github.com/angular/angular / diPublicInInjector

Function diPublicInInjector

packages/core/src/render3/di.ts:305–311  ·  view source on GitHub ↗
(
  injectorIndex: number,
  tView: TView,
  token: ProviderToken<any>,
)

Source from the content-addressed store, hash-verified

303 * @param token The type or the injection token to be made public
304 */
305export function diPublicInInjector(
306 injectorIndex: number,
307 tView: TView,
308 token: ProviderToken<any>,
309): void {
310 bloomAdd(injectorIndex, tView, token);
311}
312
313/**
314 * Inject static attribute value into directive constructor.

Callers 2

resolveProviderFunction · 0.90
initializeDirectivesFunction · 0.90

Calls 1

bloomAddFunction · 0.85

Tested by

no test coverage detected