@mocanvas/editor · type
type ShapeUtilOptionsPatch<C> = C extends {
options?: infer O;
} ? O extends object ? Partial<O> : Record<string, unknown> : Record<string, unknown>The patch ShapeUtil.configure accepts for a given util class: a
partial of whatever that class declared as its static options, or an open
bag for a util that declared none.
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.