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 5fb8249 commit 76c88b5Copy full SHA for 76c88b5
src/harness/fourslash.ts
@@ -3523,11 +3523,8 @@ namespace FourSlashInterface {
3523
public onType(posMarker: string, key: string) {
3524
this.state.formatOnType(this.state.getMarkerByName(posMarker).position, key);
3525
}
3526
-
3527
- public setOption(name: keyof ts.FormatCodeSettings, value: number): void;
3528
- public setOption(name: keyof ts.FormatCodeSettings, value: string): void;
3529
- public setOption(name: keyof ts.FormatCodeSettings, value: boolean): void;
3530
- public setOption(name: keyof ts.FormatCodeSettings, value: any): void {
+
+ public setOption(name: keyof ts.FormatCodeSettings, value: number | string | boolean): void {
3531
this.state.formatCodeSettings[name] = value;
3532
3533
0 commit comments