Skip to content

Commit 02f30ff

Browse files
committed
Formatting changes
1 parent e5a32b7 commit 02f30ff

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

src/services/breakpoints.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -259,13 +259,13 @@ namespace ts.BreakpointResolver {
259259
if (isArrayLiteralOrObjectLiteralDestructuringPattern(node)) {
260260
return spanInArrayLiteralOrObjectLiteralDestructuringPattern(<DestructuringPattern>node);
261261
}
262-
262+
263263
// Set breakpoint on identifier element of destructuring pattern
264264
// a or ...c or d: x from
265265
// [a, b, ...c] or { a, b } or { d: x } from destructuring pattern
266266
if ((node.kind === SyntaxKind.Identifier ||
267-
node.kind == SyntaxKind.SpreadElementExpression ||
268-
node.kind === SyntaxKind.PropertyAssignment ||
267+
node.kind == SyntaxKind.SpreadElementExpression ||
268+
node.kind === SyntaxKind.PropertyAssignment ||
269269
node.kind === SyntaxKind.ShorthandPropertyAssignment) &&
270270
isArrayLiteralOrObjectLiteralDestructuringPattern(node.parent)) {
271271
return textSpan(node);
@@ -325,14 +325,14 @@ namespace ts.BreakpointResolver {
325325
break;
326326
}
327327
}
328-
328+
329329
// If this is name of property assignment, set breakpoint in the initializer
330330
if (node.parent.kind === SyntaxKind.PropertyAssignment &&
331-
(<PropertyDeclaration>node.parent).name === node &&
331+
(<PropertyDeclaration>node.parent).name === node &&
332332
!isArrayLiteralOrObjectLiteralDestructuringPattern(node.parent.parent)) {
333333
return spanInNode((<PropertyDeclaration>node.parent).initializer);
334334
}
335-
335+
336336
// Breakpoint in type assertion goes to its operand
337337
if (node.parent.kind === SyntaxKind.TypeAssertionExpression && (<TypeAssertion>node.parent).type === node) {
338338
return spanInNextNode((<TypeAssertion>node.parent).type);
@@ -386,7 +386,7 @@ namespace ts.BreakpointResolver {
386386
if (variableDeclaration.parent.parent.kind === SyntaxKind.ForInStatement) {
387387
return spanInNode(variableDeclaration.parent.parent);
388388
}
389-
389+
390390
// If this is a destructuring pattern set breakpoint in binding pattern
391391
if (isBindingPattern(variableDeclaration.name)) {
392392
return spanInBindingPattern(<BindingPattern>variableDeclaration.name);
@@ -686,7 +686,7 @@ namespace ts.BreakpointResolver {
686686
function spanInColonToken(node: Node): TextSpan {
687687
// Is this : specifying return annotation of the function declaration
688688
if (isFunctionLike(node.parent) ||
689-
node.parent.kind === SyntaxKind.PropertyAssignment ||
689+
node.parent.kind === SyntaxKind.PropertyAssignment ||
690690
node.parent.kind === SyntaxKind.Parameter) {
691691
return spanInPreviousNode(node);
692692
}
@@ -722,5 +722,5 @@ namespace ts.BreakpointResolver {
722722
return spanInNode(node.parent);
723723
}
724724
}
725-
}
725+
}
726726
}

0 commit comments

Comments
 (0)