mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 16:49:06 +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:
@@ -13,11 +13,11 @@ const emptyContributions = new class implements MarkdownContributionProvider {
|
||||
readonly extensionUri = vscode.Uri.file('/');
|
||||
readonly contributions = MarkdownContributions.Empty;
|
||||
|
||||
private readonly _onContributionsChanged = new vscode.EventEmitter<this>();
|
||||
readonly onContributionsChanged = this._onContributionsChanged.event;
|
||||
readonly #onContributionsChanged = new vscode.EventEmitter<this>();
|
||||
readonly onContributionsChanged = this.#onContributionsChanged.event;
|
||||
|
||||
dispose() {
|
||||
this._onContributionsChanged.dispose();
|
||||
this.#onContributionsChanged.dispose();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user