@mocanvas/editor · type
type TLIndexedRecords<Value> = {
[key: string]: Value;
}Records of one kind, grouped by their type discriminant.
The shape a registry takes: { geo: GeoShapeUtil, arrow: ArrowShapeUtil }.
Keyed by the *registered* types so a typo in a key is an error rather than a
silently ignored entry, and left open to any string for the types a build
does not know about statically.
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.