We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c66274 commit 13d7b9bCopy full SHA for 13d7b9b
1 file changed
src/harness/fourslashImpl.ts
@@ -2560,7 +2560,7 @@ namespace FourSlash {
2560
const actual = this.languageService.getSemanticClassifications(this.activeFile.fileName,
2561
ts.createTextSpan(0, this.activeFile.content.length), format);
2562
const replacement = [`const c2 = classification("2020");`,`verify.semanticClassificationsAre("2020",`];
2563
- actual.forEach(a => {
+ for (const a of actual) {
2564
const identifier = this.classificationToIdentifier(a.classificationType as number);
2565
const text = this.activeFile.content.slice(a.textSpan.start, a.textSpan.start + a.textSpan.length);
2566
replacement.push(` c2.semanticToken("${identifier}", "${text}"), `);
0 commit comments