mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 04:53:33 +01:00
renames
This commit is contained in:
@@ -55,13 +55,13 @@ class NotebookEditorCellEditBuilder implements vscode.NotebookEditorEdit {
|
||||
});
|
||||
}
|
||||
|
||||
replaceCellOutput(index: number, outputs: (vscode.NotebookCellOutputList | vscode.CellOutput)[]): void {
|
||||
replaceCellOutput(index: number, outputs: (vscode.NotebookCellOutput | vscode.CellOutput)[]): void {
|
||||
this._throwIfFinalized();
|
||||
this._collectedEdits.push({
|
||||
editType: CellEditType.Output,
|
||||
index,
|
||||
outputs: outputs.map(output => {
|
||||
if (extHostTypes.NotebookCellOutputList.isNotebookCellOutputList(output)) {
|
||||
if (extHostTypes.NotebookCellOutput.isNotebookCellOutputList(output)) {
|
||||
return addIdToOutput(NotebookCellOutputList.from(output));
|
||||
} else {
|
||||
return addIdToOutput(output);
|
||||
|
||||
Reference in New Issue
Block a user