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

Method fieldTreeOf

packages/forms/signals/src/field/context.ts:153–157  ·  view source on GitHub ↗
(
    p: SchemaPathTree<PModel>,
  )

Source from the content-addressed store, hash-verified

151 // to successfully satisfy the complex, deferred conditional generic typings
152 // required by the `RootFieldContext` interface.
153 fieldTreeOf<PModel>(
154 p: SchemaPathTree<PModel>,
155 ): [PModel] extends [any] ? ReadonlyFieldTree<PModel> : never {
156 return this.resolve<PModel>(p) as any;
157 }
158
159 stateOf<PControl extends AbstractControl>(
160 p: CompatSchemaPath<PControl>,

Callers

nothing calls this directly

Calls 1

resolveMethod · 0.95

Tested by

no test coverage detected