mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
remove legacy typings.
This commit is contained in:
@@ -60,15 +60,12 @@ class NotebookEditorCellEditBuilder implements vscode.NotebookEditorEdit {
|
||||
});
|
||||
}
|
||||
|
||||
replaceCellOutput(index: number, outputs: (vscode.NotebookCellOutput | vscode.CellOutput)[]): void {
|
||||
replaceCellOutput(index: number, outputs: vscode.NotebookCellOutput[]): void {
|
||||
this._throwIfFinalized();
|
||||
this._collectedEdits.push({
|
||||
editType: CellEditType.Output,
|
||||
index,
|
||||
outputs: outputs.map(output => {
|
||||
if (!extHostTypes.NotebookCellOutput.isNotebookCellOutput(output)) {
|
||||
output = extHostTypes.NotebookCellOutput._fromOld(output);
|
||||
}
|
||||
return extHostConverter.NotebookCellOutput.from(output);
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user