Open Plumbiu opened 6 months ago
This PR is add max depth for formatTree:
formatTree
console.log(formatTree(tree, { depth: 2 })) console.log(formatTree(tree, { depth: 2, ellipsis: '---', }))
๐ Linked issue
โ Type of change
๐ Description
This PR is add max depth for
formatTree
:๐ Checklist