@mocanvas/editor · function
declare function normalizeIndicatorPath(result: TLIndicatorPathResult): TLIndicatorPath | undefinedNormalize what a util returned into the composed form.
A bare Path2D is the common case and is told from a TLIndicatorPath
by the presence of a path member rather than by instanceof, because a
Path2D handed across realms (an iframe, a test double) fails instanceof
against this realm's constructor.
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.