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
@@ -15752,6 +15752,10 @@ namespace ts {
15752
15752
return !!findAncestor(node, n => n === threshold ? "quit" : isFunctionLike(n));
15753
15753
}
15754
15754
15755
+
function getPartOfForStatementContainingNode(node: Node, container: ForStatement) {
15756
+
return findAncestor(node, n => n === container ? "quit" : n === container.initializer || n === container.condition || n === container.incrementor || n === container.statement);
15757
+
}
15758
+
15755
15759
function checkNestedBlockScopedBinding(node: Identifier, symbol: Symbol): void {
0 commit comments