unnecessary null -> undefined.

This commit is contained in:
rebornix
2021-02-21 19:47:27 -08:00
parent 6e3e72705a
commit 1e0adc0da5
12 changed files with 75 additions and 75 deletions

View File

@@ -163,7 +163,7 @@ export class MainThreadNotebooks extends Disposable implements MainThreadNoteboo
if (!textModel) {
return false;
}
return textModel.applyEdits(modelVersionId, cellEdits, true, null, () => null, undefined);
return textModel.applyEdits(modelVersionId, cellEdits, true, undefined, () => undefined, undefined);
}
private _isDeltaEmpty(delta: INotebookDocumentsAndEditorsDelta) {