@mocanvas/editor · type

TLShapeUtilCanBindOpts

type TLShapeUtilCanBindOpts<From extends UnknownShape = UnknownShape, To extends UnknownShape = UnknownShape> = BindingCanBindOptions<From, To>

The documented name for what ShapeUtil.canBind is asked.

Same object as BindingCanBindOptions, which is the name the binding side of the same question uses; both are exported so neither side has to import the other's vocabulary.

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.