UNPKG

@nozbe/watermelondb

Version:

Build powerful React Native and React web apps that scale from hundreds to tens of thousands of records and remain fast

8 lines (4 loc) 199 B
// @flow import { $Exact } from '../../../types' export type ArrayDiff<T> = $Exact<{ added: T[]; removed: T[] }> export default function <A, T = A>(previousList: T[], nextList: T[]): ArrayDiff<T>