Profectus / features/trees/tree / createTreeNode
Function: createTreeNode() ​
createTreeNode<
T
>(optionsFunc
?):any
Lazily creates a tree node with the given options.
Type Parameters ​
• T extends TreeNodeOptions
Parameters ​
optionsFunc? ​
() => T
Tree Node options.
Returns ​
any