This commit is contained in:
Kagami Sascha Rosylight 2016-12-22 13:04:37 +09:00
parent 5fb82496fb
commit 76c88b59cf

View File

@ -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;
}
}