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

Function wrapProviderField

packages/compiler-cli/preprocessor/src/processor.ts:1748–1751  ·  view source on GitHub ↗
(field: nga.ProviderField)

Source from the content-addressed store, hash-verified

1746 : null;
1747
1748 const wrapProviderField = (field: nga.ProviderField) => ({
1749 expression: rawSlice(s, field.span, guards),
1750 forwardRef: field.isForwardRef ? ForwardRefHandling.Unwrapped : ForwardRefHandling.None,
1751 });
1752
1753 // 2. Generate ɵprov (InjectableDef)
1754 const parsedDeps =

Callers 1

compileClassesFunction · 0.85

Calls 1

rawSliceFunction · 0.85

Tested by

no test coverage detected