Skip to content

Commit de9d5b6

Browse files
committed
Fix lint errors
1 parent ed948de commit de9d5b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/services/formatting/formatting.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ namespace ts.formatting {
759759
if (child.kind === SyntaxKind.JsxText) {
760760
const range: TextRange = { pos: child.getStart(), end: child.getEnd() };
761761
if (range.pos !== range.end) { // don't indent zero-width jsx text
762-
let tempNode: Node
762+
let tempNode: Node;
763763
let previousNode: Node | undefined;
764764
forEachChild(parent, childNode => {
765765
if (childNode.pos === child.pos) {

src/services/formatting/formattingScanner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ namespace ts.formatting {
154154
shouldRescanTemplateToken(n) ? ScanAction.RescanTemplateToken :
155155
shouldRescanJsxIdentifier(n) ? ScanAction.RescanJsxIdentifier :
156156
shouldRescanJsxText(n) ? ScanAction.RescanJsxText :
157-
shouldRescanJsxAttributeValue(n) ? ScanAction.RescanJsxAttributeValue :
157+
shouldRescanJsxAttributeValue(n) ? ScanAction.RescanJsxAttributeValue :
158158
ScanAction.Scan;
159159

160160
if (lastTokenInfo && expectedScanAction === lastScanAction) {

0 commit comments

Comments
 (0)