CollectionDiff

See source code
Table of contents

A diff describing the changes to a collection.

interface CollectionDiff<T> {}

Example

const diff: CollectionDiff<string> = {
  added: new Set(['newItem']),
  removed: new Set(['oldItem']),
}

Properties

added

optional

Items that were added to the collection

added?: Set<T>

removed

optional

Items that were removed from the collection

removed?: Set<T>

Prev
BaseRecord
Next
ComputedCache