Change to options with force parameter

This commit is contained in:
Sandeep Somavarapu
2018-09-20 15:45:09 +02:00
parent 65277c5e12
commit d617ede266
3 changed files with 8 additions and 8 deletions

View File

@@ -432,8 +432,8 @@ export function createApiFactory(
withProgress<R>(options: vscode.ProgressOptions, task: (progress: vscode.Progress<{ message?: string; worked?: number }>, token: vscode.CancellationToken) => Thenable<R>) {
return extHostProgress.withProgress(extension, options, task);
},
createOutputChannel(name: string, push?: boolean): vscode.OutputChannel {
return extHostOutputService.createOutputChannel(name, push);
createOutputChannel(name: string, options?: { force?: boolean }): vscode.OutputChannel {
return extHostOutputService.createOutputChannel(name, options);
},
createWebviewPanel(viewType: string, title: string, showOptions: vscode.ViewColumn | { viewColumn: vscode.ViewColumn, preserveFocus?: boolean }, options: vscode.WebviewPanelOptions & vscode.WebviewOptions): vscode.WebviewPanel {
return extHostWebviews.createWebview(extension.extensionLocation, viewType, title, showOptions, options);