fix(types): loosen icon prop type to any

This commit is contained in:
Eric Liu 2025-02-02 19:33:19 -08:00
commit 21c3de527d
42 changed files with 202 additions and 201 deletions

View file

@ -6,7 +6,7 @@ export type TreeNodeId = string | number;
export interface TreeNode {
id: TreeNodeId;
text: any;
icon?: typeof import("svelte").SvelteComponent<any>;
icon?: any;
disabled?: boolean;
nodes?: TreeNode[];
}