We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e435ae commit 0bb1b40Copy full SHA for 0bb1b40
src/services/formatting/smartIndenter.ts
@@ -327,7 +327,7 @@ namespace ts.formatting {
327
if (isCallOrNewExpression(parent)) {
328
if (!parent.arguments) return false;
329
const currentNode = find(parent.arguments, arg => arg.pos === child.pos);
330
- // If its not one of the argument, dont look past this
+ // If it's not one of the arguments, don't look past this
331
if (!currentNode) return false;
332
const currentIndex = parent.arguments.indexOf(currentNode);
333
if (currentIndex === 0) return false; // Can't look at previous node if first
0 commit comments