@mocanvas/editor · type
type ShapeTypeName = RegisteredShapeType | (string & {})A shape type name: the registered ones (so editors autocomplete them) and any other string, because a shape type need not be registered to exist.
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.