diff --git a/src/vs/workbench/contrib/terminal/browser/environmentVariableInfo.ts b/src/vs/workbench/contrib/terminal/browser/environmentVariableInfo.ts index 9f8823e0057adf7164b38c7b64139b9549d9ba63..4572b0146de56472b71fa28d9c29ed6f78ae0a29 100644 --- a/src/vs/workbench/contrib/terminal/browser/environmentVariableInfo.ts +++ b/src/vs/workbench/contrib/terminal/browser/environmentVariableInfo.ts @@ -26,7 +26,7 @@ export class EnvironmentVariableInfoStale implements IEnvironmentVariableInfo { return 'warning'; } - getActions(): { label: string, iconClass?: string, run: (target: HTMLElement) => void, commandId: string }[] { + getActions(): { label: string, iconClass?: string, run: () => void, commandId: string }[] { return [{ label: localize('relaunchTerminalLabel', "Relaunch terminal"), run: () => this._terminalService.getInstanceFromId(this._terminalId)?.relaunch(), diff --git a/src/vs/workbench/contrib/terminal/common/environmentVariable.ts b/src/vs/workbench/contrib/terminal/common/environmentVariable.ts index b96c65e3c265a0c11c17f3dac63d009b5bb52c24..45e977f27fe2fd474e15cc793bdcc62009764638 100644 --- a/src/vs/workbench/contrib/terminal/common/environmentVariable.ts +++ b/src/vs/workbench/contrib/terminal/common/environmentVariable.ts @@ -102,5 +102,5 @@ export type ISerializableEnvironmentVariableCollection = [string, IEnvironmentVa export interface IEnvironmentVariableInfo { getInfo(): string; getIcon(): string; - getActions?(): { label: string, iconClass?: string, run: (target: HTMLElement) => void, commandId: string }[]; + getActions?(): { label: string, iconClass?: string, run: () => void, commandId: string }[]; }