notebook controller or id

This commit is contained in:
rebornix 2022-04-14 10:07:49 -07:00
parent a2e45088bc
commit 61095a1347
No known key found for this signature in database
GPG key ID: 0299D52A1BBA52AB

View file

@ -1134,7 +1134,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
extHostApiDeprecation.report('notebookConcatTextDocument', extension, 'This proposal is not on track for finalization and will be removed.');
return new ExtHostNotebookConcatDocument(extHostNotebookDocuments, extHostDocuments, notebook, selector);
},
createNotebookProxyController(id: string, notebookType: string, label: string, handler: () => vscode.NotebookController | Thenable<vscode.NotebookController>) {
createNotebookProxyController(id: string, notebookType: string, label: string, handler: () => vscode.NotebookController | string | Thenable<vscode.NotebookController | string>) {
checkProposedApiEnabled(extension, 'notebookProxyController');
return extHostNotebookKernels.createNotebookProxyController(extension, id, notebookType, label, handler);
}