Type LGraphNode.getInnerNodes (#2498)

This commit is contained in:
Chenlei Hu
2025-02-10 16:35:26 -05:00
committed by GitHub
parent 0479b112c1
commit 8052b2a02a
5 changed files with 10 additions and 8 deletions

View File

@@ -856,6 +856,7 @@ export class GroupNodeHandler {
for (let i = 0; i < c.nodes.length; i++) {
let id = innerNodes?.[i]?.id
// Use existing IDs if they are set on the inner nodes
// @ts-expect-error id can be string or number
if (id == null || isNaN(id)) {
id = undefined
} else {