PropTreeValue TypeAlias
Type erase a TreeNode from a TreeNode | TreeLeafValue as a PropTreeNode.
This API is provided as an alpha preview and may change without notice.
To use, import via @fluidframework/react/alpha.
For more information about our API support guarantees, see here.
Signature
export type PropTreeValue<T extends TreeNode | TreeLeafValue | undefined> = T extends TreeNode ? PropTreeNode<T> : T;
Type Parameters
| Parameter | Constraint | Description |
|---|---|---|
| T | TreeNode | TreeLeafValue | undefined |