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

Function createFactoryFunction

packages/compiler/src/injectable_compiler_2.ts:185–188  ·  view source on GitHub ↗
(type: o.Expression)

Source from the content-addressed store, hash-verified

183}
184
185function createFactoryFunction(type: o.Expression): o.ArrowFunctionExpr {
186 const t = new o.FnParam('__ngFactoryType__', o.DYNAMIC_TYPE);
187 return o.arrowFn([t], type.prop('ɵfac').callFn([o.variable(t.name)]));
188}

Callers 1

delegateToFactoryFunction · 0.85

Calls 1

propMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…