remove deprecated API

This commit is contained in:
Johannes Rieken
2021-06-02 09:17:48 +02:00
parent dfc47c7957
commit 0b6e70302f
8 changed files with 46 additions and 111 deletions

View File

@@ -293,7 +293,7 @@ export class ExtHostNotebookController implements ExtHostNotebookShape {
};
}
const editorId = await this._notebookEditorsProxy.$tryShowNotebookDocument(notebookOrUri.uri, notebookOrUri.viewType, resolvedOptions);
const editorId = await this._notebookEditorsProxy.$tryShowNotebookDocument(notebookOrUri.uri, notebookOrUri.notebookType, resolvedOptions);
const editor = editorId && this._editors.get(editorId)?.apiEditor;
if (editor) {