feat(types): regenerate types using sveld@0.10.2

This commit is contained in:
metonym 2021-10-15 17:11:59 -07:00
commit 816f574412
173 changed files with 172 additions and 193 deletions

View file

@ -69,27 +69,23 @@ export default class TreeView extends SvelteComponentTyped<
> {
/**
* Programmatically expand all nodes
* @default () => { expandedIds = [...nodeIds]; }
*/
expandAll: () => void;
/**
* Programmatically collapse all nodes
* @default () => { expandedIds = []; }
*/
collapseAll: () => void;
/**
* Programmatically expand a subset of nodes.
* Expands all nodes if no argument is provided
* @default () => { expandedIds = nodes .filter((node) => !filterNode(node)) .map((node) => node.id); }
*/
expandNodes: (filterId?: (node: TreeNode) => boolean) => void;
/**
* Programmatically collapse a subset of nodes.
* Collapses all nodes if no argument is provided
* @default () => { expandedIds = nodes .filter((node) => !filterNode(node)) .map((node) => node.id); }
*/
collapseNodes: (filterId?: (node: TreeNode) => boolean) => void;
}