Fix: updated doc, removed [] on type definition for nodesFlat

This commit is contained in:
Bram 2024-11-26 23:11:57 +01:00 committed by Eric Liu
commit b9c1f11430
4 changed files with 4 additions and 4 deletions

View file

@ -24,7 +24,7 @@ type $Props = {
* Provide a flat array of nodes to render
* @default []
*/
nodesFlat?: Array<TreeNode>[];
nodesFlat?: Array<TreeNode>;
/**
* Set the current active node id