mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-06 02:33:53 -06:00
union
This commit is contained in:
parent
5fb82496fb
commit
76c88b59cf
@ -3523,11 +3523,8 @@ namespace FourSlashInterface {
|
||||
public onType(posMarker: string, key: string) {
|
||||
this.state.formatOnType(this.state.getMarkerByName(posMarker).position, key);
|
||||
}
|
||||
|
||||
public setOption(name: keyof ts.FormatCodeSettings, value: number): void;
|
||||
public setOption(name: keyof ts.FormatCodeSettings, value: string): void;
|
||||
public setOption(name: keyof ts.FormatCodeSettings, value: boolean): void;
|
||||
public setOption(name: keyof ts.FormatCodeSettings, value: any): void {
|
||||
|
||||
public setOption(name: keyof ts.FormatCodeSettings, value: number | string | boolean): void {
|
||||
this.state.formatCodeSettings[name] = value;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user