This commit is contained in:
Johannes Rieken 2020-08-27 10:28:25 +02:00
parent 21dd836ddb
commit 0eb11e8f0c
2 changed files with 3 additions and 3 deletions

View file

@ -1343,8 +1343,8 @@ declare module 'vscode' {
export interface NotebookEditorCellEdit {
replaceCells(from: number, to: number, cells: NotebookCellData[]): void;
replaceOutputs(index: number, outputs: CellOutput[]): void;
replaceCells(start: number, end: number, cells: NotebookCellData[]): void;
replaceOutput(index: number, outputs: CellOutput[]): void;
replaceMetadata(index: number, metadata: NotebookCellMetadata): void;
/** @deprecated */

View file

@ -527,7 +527,7 @@ export class NotebookEditorCellEditBuilder implements vscode.NotebookEditorCellE
});
}
replaceOutputs(index: number, outputs: vscode.CellOutput[]): void {
replaceOutput(index: number, outputs: vscode.CellOutput[]): void {
this._throwIfFinalized();
this._collectedEdits.push({
editType: CellEditType.Output,