@ -47,9 +47,14 @@ function icrAsString<V>(icr: IterableChangeRecord<V>): string {
|
||||
stringify(icr.previousIndex) + '->' + stringify(icr.currentIndex) + ']';
|
||||
}
|
||||
|
||||
export function iterableChangesAsString(
|
||||
{collection = [] as any, previous = [] as any, additions = [] as any, moves = [] as any,
|
||||
removals = [] as any, identityChanges = [] as any}): string {
|
||||
export function iterableChangesAsString({
|
||||
collection = [] as any,
|
||||
previous = [] as any,
|
||||
additions = [] as any,
|
||||
moves = [] as any,
|
||||
removals = [] as any,
|
||||
identityChanges = [] as any
|
||||
}): string {
|
||||
return 'collection: ' + collection.join(', ') + '\n' +
|
||||
'previous: ' + previous.join(', ') + '\n' +
|
||||
'additions: ' + additions.join(', ') + '\n' +
|
||||
|
Reference in New Issue
Block a user