UNPKG

indexed-collection

Version:

A zero-dependency library of classes that make filtering, sorting and observing changes to arrays easier and more efficient.

11 lines (9 loc) 229 B
export interface ICollectionUpdateLineItem<T> { oldValue: T; newValue: T; } export interface ICollectionChangeDetail<T> { readonly added: T[]; readonly removed: T[]; readonly updated: ICollectionUpdateLineItem<T>[]; }