@mocanvas/store · interface

CollectionDiff

interface CollectionDiff<T>

What changed in a set: the members added and the members removed.

Either side may be absent, which means "nothing on that side" — a diff with neither is a diff that says nothing happened.


Properties · 2

added?: Set<T>
removed?: Set<T>

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.