Remove set/getOption deprecated APIs
This commit is contained in:
@@ -109,10 +109,6 @@ export class OptionsService implements IOptionsService {
|
||||
}
|
||||
}
|
||||
|
||||
public setOption(key: string, value: any): void {
|
||||
this.options[key] = value;
|
||||
}
|
||||
|
||||
private _sanitizeAndValidateOption(key: string, value: any): any {
|
||||
switch (key) {
|
||||
case 'cursorStyle':
|
||||
@@ -170,10 +166,6 @@ export class OptionsService implements IOptionsService {
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
public getOption(key: string): any {
|
||||
return this.options[key];
|
||||
}
|
||||
}
|
||||
|
||||
function isCursorStyle(value: unknown): value is CursorStyle {
|
||||
|
||||
Reference in New Issue
Block a user