Skip to content

Commit 2fc9c73

Browse files
committed
linter issue fix
1 parent 638305d commit 2fc9c73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/formatting/formatting.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -679,8 +679,8 @@ namespace ts.formatting {
679679

680680
let inheritedIndentation = Constants.Unknown;
681681
let listDeltaRemoved = false;
682-
for (let child of nodes) {
683-
inheritedIndentation = processChildNode(child, inheritedIndentation, node, listDynamicIndentation, startLine, startLine, /*isListElement*/ true)
682+
for (const child of nodes) {
683+
inheritedIndentation = processChildNode(child, inheritedIndentation, node, listDynamicIndentation, startLine, startLine, /*isListItem*/ true);
684684
if (!listDeltaRemoved && SmartIndenter.nodeStretchesFromLine(child, startLine, sourceFile)) {
685685
listDynamicIndentation.clearDelta();
686686
listDeltaRemoved = true;

0 commit comments

Comments
 (0)