Skip to content

Commit a1f88d2

Browse files
committed
format fourslash.ts
1 parent 76c88b5 commit a1f88d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/harness/fourslash.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ namespace FourSlash {
479479
endPos = endMarker.position;
480480
}
481481

482-
errors.forEach(function(error: ts.Diagnostic) {
482+
errors.forEach(function (error: ts.Diagnostic) {
483483
if (predicate(error.start, error.start + error.length, startPos, endPos)) {
484484
exists = true;
485485
}
@@ -496,7 +496,7 @@ namespace FourSlash {
496496
Harness.IO.log("Unexpected error(s) found. Error list is:");
497497
}
498498

499-
errors.forEach(function(error: ts.Diagnostic) {
499+
errors.forEach(function (error: ts.Diagnostic) {
500500
Harness.IO.log(" minChar: " + error.start +
501501
", limChar: " + (error.start + error.length) +
502502
", message: " + ts.flattenDiagnosticMessageText(error.messageText, Harness.IO.newLine()) + "\n");
@@ -3523,7 +3523,7 @@ namespace FourSlashInterface {
35233523
public onType(posMarker: string, key: string) {
35243524
this.state.formatOnType(this.state.getMarkerByName(posMarker).position, key);
35253525
}
3526-
3526+
35273527
public setOption(name: keyof ts.FormatCodeSettings, value: number | string | boolean): void {
35283528
this.state.formatCodeSettings[name] = value;
35293529
}

0 commit comments

Comments
 (0)