squashRecordDiffs
Public function
Squash a collection of diffs into a single diff.
Signature
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.
References
Source