Skip to content

Commit 6c49121

Browse files
ortasandersn
andauthored
Update src/harness/fourslashImpl.ts
Co-authored-by: Nathan Shively-Sanders <[email protected]>
1 parent e6eeae1 commit 6c49121

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: src/harness/fourslashImpl.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -2488,8 +2488,7 @@ namespace FourSlash {
24882488
const typeIdx = getTokenTypeFromClassification(classification) || 0;
24892489
const modSet = getTokenModifierFromClassification(classification);
24902490

2491-
const tokenClassifiction = [tokenTypes[typeIdx], ...tokenModifiers.filter((_, i) => modSet & 1 << i)].join(".");
2492-
return tokenClassifiction;
2491+
return [tokenTypes[typeIdx], ...tokenModifiers.filter((_, i) => modSet & 1 << i)].join(".");
24932492
}
24942493

24952494
private verifyClassifications(expected: { classificationType: string | number, text?: string; textSpan?: TextSpan }[], actual: ts.ClassifiedSpan[], sourceFileText: string) {

0 commit comments

Comments
 (0)