[TS] Fix TreeExplorerNode types (#3163)

This commit is contained in:
Chenlei Hu
2025-03-20 11:47:04 -04:00
committed by GitHub
parent c34cc301f1
commit b162963593
3 changed files with 14 additions and 9 deletions

View File

@@ -117,7 +117,6 @@ const renderedRoot = computed<TreeExplorerNode<ComfyNodeDefImpl>>(() => {
// @ts-expect-error fixme ts strict error
leaf: node.leaf,
data: node.data,
// @ts-expect-error fixme ts strict error
getIcon() {
if (this.leaf) {
return 'pi pi-circle-fill'