@mocanvas/store · type
type StoreObject<R extends UnknownRecord = UnknownRecord> = Store<R, any> | {
store: Store<R, any>;
}Anything that owns a store: a Store itself, or an object holding one (an
Editor). Written for the helpers that want to accept either without their
callers having to reach for .store.
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.