提交 832afd12 编写于 作者: J Johannes Rieken

💄

上级 15cd2a1a
......@@ -28,7 +28,7 @@ export interface ILocalizedString {
original: string;
}
export interface ILocalizedTitle extends ILocalizedString {
export interface ICommandActionTitle extends ILocalizedString {
/**
* The title with a mnemonic designation. && precedes the mnemonic.
*/
......@@ -39,7 +39,7 @@ export type Icon = { dark?: URI; light?: URI; } | ThemeIcon;
export interface ICommandAction {
id: string;
title: string | ILocalizedTitle;
title: string | ICommandActionTitle;
category?: string | ILocalizedString;
tooltip?: string;
icon?: Icon;
......@@ -387,9 +387,7 @@ export class MenuItemAction extends ExecuteCommandAction {
}
dispose(): void {
if (this.alt) {
this.alt.dispose();
}
this.alt?.dispose();
super.dispose();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册