mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-19 08:08:39 +01:00
Experiment with switching markdown extension to use native privates
Let's try this out with one extension to start
This commit is contained in:
@@ -33,13 +33,13 @@ export function getData<T = {}>(key: string): T {
|
||||
}
|
||||
|
||||
export class SettingsManager {
|
||||
private _settings: PreviewSettings = getData('data-settings');
|
||||
#settings: PreviewSettings = getData('data-settings');
|
||||
|
||||
public get settings(): PreviewSettings {
|
||||
return this._settings;
|
||||
return this.#settings;
|
||||
}
|
||||
|
||||
public updateSettings(newSettings: PreviewSettings) {
|
||||
this._settings = newSettings;
|
||||
this.#settings = newSettings;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user