@mocanvas/editor · type

TLDefaultRecord

type TLDefaultRecord = Document$1 | Page | UnknownShape | UnknownBinding | Asset | Camera | Instance | InstancePageState

The record types this library ships, as a union.

"Default" as opposed to whatever an app has added: a build with custom shapes and custom record types has a wider union than this, and the store is generic over it. This is the floor.

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.