(windowId: string)
| 3301 | Array.isArray(nextChildren) && |
| 3302 | previousChildren.length === nextChildren.length && |
| 3303 | previousChildren.every((child, index) => child === nextChildren[index]) |
| 3304 | ); |
| 3305 | } |
| 3306 | |
| 3307 | function findSerializedNode(tree: unknown, nodeId: string): unknown { |
| 3308 | if (!tree || typeof tree !== "object") { |
| 3309 | return undefined; |
| 3310 | } |
| 3311 | const node = tree as { nodeId?: unknown; children?: unknown[] }; |
| 3312 | if (node.nodeId === nodeId) { |