mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
Fix: updated doc, removed [] on type definition for nodesFlat
This commit is contained in:
parent
b754b990e7
commit
655a205b0a
4 changed files with 4 additions and 4 deletions
2
types/TreeView/TreeView.svelte.d.ts
vendored
2
types/TreeView/TreeView.svelte.d.ts
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue