squashRecordDiffs
Squash a collection of diffs into a single diff.
function squashRecordDiffs<T extends UnknownRecord>(
diffs: RecordsDiff<T>[]
): RecordsDiff<T>
Parameters
Name | Description |
---|---|
|
An array of diffs to squash. |
Returns
RecordsDiff<T>
A single diff that represents the squashed diffs.