thednp / svg-path-commander

Typescript tools for advanced processing of SVG path data.
https://thednp.github.io/svg-path-commander/
MIT License
222 stars 19 forks source link

Update input type for getPathBBox #21

Closed gingerchris closed 1 year ago

gingerchris commented 1 year ago

This function accepts the same input as pathLengthFactory - a PathArray or string.

Currently, passing a string causes a TS error but produces the expected output.

thednp commented 1 year ago

Thanks for the find ;)

gingerchris commented 1 year ago

@thednp thanks for the library!

thednp commented 1 year ago

Please feel free to report any other issue you find. I want to release 2.0 stable as soon as all issues are resolved. Thanks!

Have a good year!