We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Edge[]
Iterable<Edge>
1 parent f4e3f1a commit 07e74d3Copy full SHA for 07e74d3
1 file changed
src/slang-nodes/SlangNode.ts
@@ -37,7 +37,7 @@ function isNonTriviaNode(node: Node): boolean {
37
);
38
}
39
40
-function getOffset(children: Edge[] | Iterable<Edge>): number {
+function getOffset(children: Iterable<Edge>): number {
41
let offset = 0;
42
for (const { node } of children) {
43
if (isNonTriviaNode(node)) {
0 commit comments