You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: node_modules/svguitar/node_modules/@svgdotjs/svg.js/svg.js.d.ts:364:9 - error TS2416: Property 'at' in type 'PointArray' is not assignable to the same property in base type 'Array<ArrayXY>'.
Type '(pos: number) => PointArray' is not assignable to type '(index: number) => ArrayXY | undefined'.
Type 'PointArray' is not assignable to type '[number, number]'.
364 at(pos: number): PointArray;
~~
Error: node_modules/svguitar/node_modules/@svgdotjs/svg.js/svg.js.d.ts:423:9 - error TS2416: Property 'at' in type 'PathArray' is not assignable to the same property in base type 'Array<PathCommand>'.
Type '(pos: number) => PathArray' is not assignable to type '(index: number) => PathCommand | undefined'.
Type 'PathArray' is not assignable to type 'PathCommand | undefined'.
Type 'PathArray' is not assignable to type '["m" | "M" | "L" | "l", number, number] | ["H" | "h" | "V" | "v", number] | ["Z" | "z"] | ["C" | "c", number, number, number, number, number, number] | ["S" | "s" | "Q" | "q", number, number, number, number] | [...] | [...]'.
Type 'PathArray' is not assignable to type '["a" | "A", number, number, number, number, number, number, number]'.
423 at(pos: number): PathArray
~~
using with typescript, I face error:
Which seems to be resolved by the fix for svgdotjs: svgdotjs/svg.js#1212
Moreover, once I fixed the dependency in my:
package-lock.json
to versino 3.2.0:the problem is no more reported.
Please upgrade
svgdotjs/svg.js
dependency to 3.2.0 version.The text was updated successfully, but these errors were encountered: