mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 08:38:56 +01:00
remove viewType from openNotebookDocument call
This commit is contained in:
@@ -1028,9 +1028,9 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
|
||||
|
||||
// namespace: notebook
|
||||
const notebook: typeof vscode.notebook = {
|
||||
openNotebookDocument: (uriComponents, viewType) => {
|
||||
openNotebookDocument: (uriComponents) => {
|
||||
checkProposedApiEnabled(extension);
|
||||
return extHostNotebook.openNotebookDocument(uriComponents, viewType);
|
||||
return extHostNotebook.openNotebookDocument(uriComponents);
|
||||
},
|
||||
get onDidOpenNotebookDocument(): Event<vscode.NotebookDocument> {
|
||||
checkProposedApiEnabled(extension);
|
||||
|
||||
Reference in New Issue
Block a user