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