This commit is contained in:
Johannes Rieken
2021-05-31 13:06:14 +02:00
parent 3b407e0b6c
commit 83d5e2bda0
3 changed files with 23 additions and 13 deletions

View File

@@ -1054,7 +1054,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
};
// namespace: notebook
const notebook: typeof vscode.notebook = {
const notebooks: typeof vscode.notebooks = {
async openNotebookDocument(uriOrOptions?: URI | string, content?: vscode.NotebookData) {
checkProposedApiEnabled(extension);
let uri: URI;
@@ -1144,7 +1144,8 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
env,
extensions,
languages,
notebook,
notebooks,
notebook: notebooks,
scm,
tasks,
test,