mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 17:19:01 +01:00
debt - make ExtHostNotebookDocument not implement vscode.NotebookDocument but expose the API object via strict getter
This commit is contained in:
@@ -936,7 +936,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
},
|
||||
get notebookDocuments(): vscode.NotebookDocument[] {
|
||||
checkProposedApiEnabled(extension);
|
||||
return extHostNotebook.notebookDocuments;
|
||||
return extHostNotebook.notebookDocuments.map(d => d.notebookDocument);
|
||||
},
|
||||
get visibleNotebookEditors() {
|
||||
checkProposedApiEnabled(extension);
|
||||
|
||||
Reference in New Issue
Block a user