interface SVGPathElement { /** * See https://github.com/jarek-foksa/path-data-polyfill * * See https://svgwg.org/specs/paths/#InterfaceSVGPathData */ getPathData: (settings?: SVGPathDataSettings) => Array; /** * See https://github.com/jarek-foksa/path-data-polyfill * * See https://svgwg.org/specs/paths/#InterfaceSVGPathData */ setPathData: (pathData: Array) => void; } type SVGPathDataCommand = | "A" | "a" | "C" | "c" | "H" | "h" | "L" | "l" | "M" | "m" | "Q" | "q" | "S" | "s" | "T" | "t" | "V" | "v" | "Z" | "z"; interface SVGPathDataSettings { normalize: boolean; } interface SVGPathSegment { type: SVGPathDataCommand; values: Array; }