Skip to content

Commit e6f3101

Browse files
authored
TSL: Fix optional Fn parameters (#30884)
1 parent 037536a commit e6f3101

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/nodes/core/NodeBuilder.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2710,6 +2710,11 @@ class NodeBuilder {
27102710

27112711
}
27122712

2713+
/**
2714+
* Prevents the node builder from being used as an iterable in TSL.Fn(), avoiding potential runtime errors.
2715+
*/
2716+
*[ Symbol.iterator ]() { }
2717+
27132718
// Deprecated
27142719

27152720
/**
@@ -2725,6 +2730,7 @@ class NodeBuilder {
27252730

27262731
}
27272732

2733+
27282734
}
27292735

27302736
export default NodeBuilder;

0 commit comments

Comments
 (0)