mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-04-20 17:19:35 -05:00
cancel getOption
This commit is contained in:
@@ -3530,10 +3530,6 @@ namespace FourSlashInterface {
|
||||
public setOption(name: keyof ts.FormatCodeSettings, value: any): void {
|
||||
this.state.formatCodeSettings[name] = value;
|
||||
}
|
||||
|
||||
public getOption(name: keyof ts.FormatCodeSettings) {
|
||||
return this.state.formatCodeSettings[name];
|
||||
}
|
||||
}
|
||||
|
||||
export class Cancellation {
|
||||
|
||||
@@ -294,10 +294,7 @@ declare namespace FourSlashInterface {
|
||||
setFormatOptions(options: FormatCodeOptions): any;
|
||||
selection(startMarker: string, endMarker: string): void;
|
||||
onType(posMarker: string, key: string): void;
|
||||
setOption(name: string, value: number): void;
|
||||
setOption(name: string, value: string): void;
|
||||
setOption(name: string, value: boolean): void;
|
||||
getOption(name: string): number|string|boolean;
|
||||
setOption(name: string, value: number | string | boolean): void;
|
||||
}
|
||||
class cancellation {
|
||||
resetCancelled(): void;
|
||||
|
||||
Reference in New Issue
Block a user