vscode.d.ts - deprecate the whole method, not the argument

fixes #2337
This commit is contained in:
isidor
2016-01-26 17:58:27 +01:00
parent de18117891
commit 1bef9adeb6
2 changed files with 15 additions and 2 deletions

View File

@@ -47,7 +47,11 @@ export class ExtHostOutputChannel implements vscode.OutputChannel {
this._proxy.clear(this._name);
}
show(column?: vscode.ViewColumn, preserveFocus?: boolean): void {
show(columnOrPreserveFocus?: vscode.ViewColumn | boolean, preserveFocus?: boolean): void {
if (typeof columnOrPreserveFocus === 'boolean') {
preserveFocus = columnOrPreserveFocus;
}
this._proxy.reveal(this._name, preserveFocus);
}