export default function diffArray(init: T[], current: T[]): { add: T[]; remove: T[]; diff: T[]; };