cancel getOption
This commit is contained in:
parent
ebf46a77e9
commit
6b48f3b551
2 changed files with 1 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue