@mocanvas/editor · type

BindingPropsForType

type BindingPropsForType<Type extends string> = Type extends keyof TLGlobalBindingPropsMap ? TLGlobalBindingPropsMap[Type] extends object ? TLGlobalBindingPropsMap[Type] : object : object

The props of binding type Type, or the open object when that type has not been registered through TLGlobalBindingPropsMap.

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.