@mocanvas/editor · interface
interface PropsMigrationOne step of a props migration sequence.
Properties · 3
readonly down?: ((props: MigratableProps) => void | MigratableProps) | undefinedUndo up. Without it, older clients cannot read newer data.
readonly id: MigrationIdreadonly up: (props: MigratableProps) => void | MigratablePropsBring props up to this version. Mutate in place, or return a replacement.
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.