Closed crystalfp closed 3 years ago
Feel free to create a PR that we can merge. You can even edit the files directly in your browser :)
In file svg.js.d.ts line 824 add parameter name:
type EasingCallback = (...args: any) => number
In file svg.js.d.ts line 1107 add return type:
zoom(level: NumberAlias, point?: Point): this
Thanks to @maximedupre who helped out with this. Its merged!
Everything solved with the last update! Thanks!
Bug report
Typescript, inside Visual Studio Core, complains for two errors inside
svg.js.d.ts
(3.1.0 version):Fiddle
It is a typescript compilation error and the error is clearly explained in the above error messages.
Explanation
I expect no compilation errors. Well, there are many other error messages from my code, seems from disruptive changes from the previous svgjs version, but I have to investigate them.