TreeIndexNodes TypeAlias
an array of nodes that is guaranteed to have at least one element
This API is provided as a beta preview and may change without notice.
To use, import via @fluidframework/tree/beta.
For more information about our API support guarantees, see here.
Signature
export type TreeIndexNodes<TNode> = readonly [first: TNode, ...rest: TNode[]];
Type Parameters
| Parameter | Description |
|---|---|
| TNode |