W3cubDocs

/Angular

WithOptionalFieldTree

A type that allows the given type T to optionally have a field property.

API

type WithOptionalFieldTree<T> = Omit<T, 'fieldTree'> & {fieldTree?: FieldTree<unknown>}

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/forms/signals/WithOptionalFieldTree