Packages > @fluidframework/tree > TreeArrayNode

TreeArrayNode Interface

A TreeNode which implements ‘readonly T[]’ and the array mutation APIs.

Signature

/** @sealed */
export interface TreeArrayNode<TAllowedTypes extends ImplicitAllowedTypes = ImplicitAllowedTypes> extends TreeArrayNodeBase<TreeNodeFromImplicitAllowedTypes<TAllowedTypes>, InsertableTreeNodeFromImplicitAllowedTypes<TAllowedTypes>, TreeArrayNode>

Extends: TreeArrayNodeBase <TreeNodeFromImplicitAllowedTypes <TAllowedTypes>, InsertableTreeNodeFromImplicitAllowedTypes <TAllowedTypes>, TreeArrayNode >

Type Parameters

Parameter Constraint Default Description
TAllowedTypes ImplicitAllowedTypes ImplicitAllowedTypes Schema for types which are allowed as members of this array.