yanick / vue-svg-pan-zoom

Vue component using SvgPanZoom
https://www.npmjs.com/package/vue-svg-pan-zoom
57 stars 19 forks source link

Typings for TypeScript consumers? #11

Open ronnyek opened 4 years ago

ronnyek commented 4 years ago

Greetings, looking into using this in a typescript vue project. While the svg-pan-zoom library exposes typings, it appears that vue-svg-pan-zoom does not.

Is there any easy way to get them added to this library?

yanick commented 4 years ago

Hi! It should be relatively easy to copy the types from the original library to this one. I'm not actively using vue or this library right, and I typically don't use Typescript for my Vue projects. Which means that it might be a while before I get around to do this ticket. But if you want to submit a patch, I'd be delighted to merge it!