diff --git a/src/vs/vscode.d.ts b/src/vs/vscode.d.ts index 40c420b664931..8e3d52f467dd4 100644 --- a/src/vs/vscode.d.ts +++ b/src/vs/vscode.d.ts @@ -5840,6 +5840,7 @@ declare module 'vscode' { * the command handler function doesn't return anything. */ export function executeCommand(command: string, ...rest: any[]): Thenable; + export function executeCommand(command: 'vscode.previewHtml', error: { '⚠️ The vscode.previewHtml command is deprecated and will be removed. Please switch to using the Webview Api': never }, ...rest: any[]): Thenable; /** * Retrieve the list of all available commands. Commands starting an underscore are