diff --git a/src/vs/workbench/api/common/extHostNotebook.ts b/src/vs/workbench/api/common/extHostNotebook.ts index 1355648af77..9325f9ae912 100644 --- a/src/vs/workbench/api/common/extHostNotebook.ts +++ b/src/vs/workbench/api/common/extHostNotebook.ts @@ -492,11 +492,11 @@ export class ExtHostNotebookDocument extends Disposable implements vscode.Notebo }); } - getCell(cellHandle: number) { + getCell(cellHandle: number): ExtHostCell | undefined { return this.cells.find(cell => cell.handle === cellHandle); } - getCell2(cellUri: UriComponents) { + getCell2(cellUri: UriComponents): ExtHostCell | undefined { return this.cells.find(cell => cell.uri.fragment === cellUri.fragment); } }