You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/compiler/checker.ts
+34-2Lines changed: 34 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -15620,6 +15620,10 @@ namespace ts {
15620
15620
return !!findAncestor(node, n => n === threshold ? "quit" : isFunctionLike(n));
15621
15621
}
15622
15622
15623
+
function getPartOfForStatementContainingNode(node: Node, container: ForStatement) {
15624
+
return findAncestor(node, n => n === container ? "quit" : n === container.initializer || n === container.condition || n === container.incrementor || n === container.statement);
15625
+
}
15626
+
15623
15627
function checkNestedBlockScopedBinding(node: Identifier, symbol: Symbol): void {
0 commit comments