Can't read StatusBarItem.tooltip anymore. Fixes #133231

This commit is contained in:
Martin Aeschlimann
2021-09-16 11:57:26 +02:00
parent 20d534bf68
commit 57dde04b44
2 changed files with 10 additions and 2 deletions

View File

@@ -86,6 +86,10 @@ export class ExtHostStatusBarEntry implements vscode.StatusBarItem {
return this._name;
}
public get tooltip(): vscode.MarkdownString | string | undefined {
return this._tooltip;
}
public get color(): string | ThemeColor | undefined {
return this._color;
}
@@ -112,7 +116,7 @@ export class ExtHostStatusBarEntry implements vscode.StatusBarItem {
this.update();
}
public set tooltip(tooltip: string | undefined) {
public set tooltip(tooltip: vscode.MarkdownString | string | undefined) {
this._tooltip = tooltip;
this.update();
}