David-Desmaisons / Vue.resize

Vue directive to detect resize events with deboucing and throttling capacity.
MIT License
327 stars 36 forks source link

Add typings #20

Open ELFoglalt opened 4 years ago

ELFoglalt commented 4 years ago

Fixes #13. Adds a bare minimum type information so that eslint understands this is a vue directive.

My first ever type def for vue, so I'm not sure what other functionality should be exposed in this, but this shuts up the linter and the plugin still works just as expected in a ts project.

ELFoglalt commented 4 years ago

(Some of my changes from pull request #19 got accidentally mixed in this, fixed the commit.)