WithOptionalFieldTree
Type Alias
stablesince v22.0
A type that allows the given type T to optionally have a field property.
API
type WithOptionalFieldTree<T> = Omit<T, 'fieldTree'> & { fieldTree?: ReadonlyFieldTree<unknown>;}
Jump to details