Skip to main content

ViewOrTree TypeAlias

A value that is either a TreeView or a subtree within a TreeView.

This API is provided as an alpha preview and may change without notice.

To use, import via @fluidframework/tree-agent/alpha.

For more information about our API support guarantees, see here.

Signature

export type ViewOrTree<TSchema extends ImplicitFieldSchema> = TreeView<TSchema> | (ReadableField<TSchema> & TreeNode);

Type Parameters

ParameterConstraintDescription
TSchemaImplicitFieldSchema