@mocanvas/store · type
type RecordFromId<K extends RecordId<UnknownRecord>> = K extends RecordId<infer R> ? R : neverExtract the record type an id refers to.
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.