Skip to content

Commit c1b031a

Browse files
committed
fix linter issues
1 parent 5c0d1a8 commit c1b031a

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/harness/fourslash.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3284,7 +3284,7 @@ namespace FourSlashInterface {
32843284
export function typeAliasName(text: string, position?: number): { classificationType: string; text: string; textSpan?: FourSlash.TextSpan } {
32853285
return getClassification("typeAliasName", text, position);
32863286
}
3287-
3287+
32883288
export function jsxOpenTagName(text: string, position?: number): { classificationType: string; text: string; textSpan?: FourSlash.TextSpan } {
32893289
return getClassification("jsxOpenTagName", text, position);
32903290
}

src/services/services.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6864,7 +6864,7 @@ namespace ts {
68646864
}
68656865
else if (tokenKind === SyntaxKind.JsxText) {
68666866
return ClassificationType.jsxText;
6867-
}
6867+
}
68686868
else if (tokenKind === SyntaxKind.Identifier) {
68696869
if (token) {
68706870
switch (token.parent.kind) {

tests/cases/fourslash/syntacticClassificationsJsx1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
////
88
////let y = <element attr="123"/>
99

10-
const c = classification;
10+
const c = classification;
1111
verify.syntacticClassificationsAre(
1212
c.keyword("let"), c.identifier("x"), c.operator("="),
1313
c.punctuation("<"),

0 commit comments

Comments
 (0)