@mocanvas/editor · type
type ShapePropsForType<Type extends string> = Type extends keyof TLGlobalShapePropsMap ? TLGlobalShapePropsMap[Type] extends object ? TLGlobalShapePropsMap[Type] : object : objectThe props of shape type Type, or the open object when that type has not
been registered through TLGlobalShapePropsMap.
Mentioned here
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.