Skip to content

Commit 76c88b5

Browse files
committed
union
1 parent 5fb8249 commit 76c88b5

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/harness/fourslash.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3523,11 +3523,8 @@ namespace FourSlashInterface {
35233523
public onType(posMarker: string, key: string) {
35243524
this.state.formatOnType(this.state.getMarkerByName(posMarker).position, key);
35253525
}
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 {
3526+
3527+
public setOption(name: keyof ts.FormatCodeSettings, value: number | string | boolean): void {
35313528
this.state.formatCodeSettings[name] = value;
35323529
}
35333530
}

0 commit comments

Comments
 (0)