vue-flatpickr-component icon indicating copy to clipboard operation
vue-flatpickr-component copied to clipboard

Typescript declaration support

Open daomtthuan opened this issue 5 years ago • 3 comments

I'm using with nuxt/vue (lastest version) with typescript. Of course, when I import your module, it request the declaration file. Can you write it for supporting the typescript project?

daomtthuan avatar Oct 20 '20 15:10 daomtthuan

+1 also i suggest to update documentation about usage using versions (instead of master branch use next tag)

volarname avatar Jan 26 '22 11:01 volarname

This one maybe is not perfect, but if someone need some kind of temporary solution, please add this line to src/shims-vue.d.ts:

declare module 'vue-flatpickr-component';

scorpion43 avatar May 20 '22 12:05 scorpion43

Can someone test the type definitions

npm install [email protected]

ankurk91 avatar Sep 15 '22 06:09 ankurk91

Can someone test the type definitions

npm install [email protected]

Just tested it It looks like it is working, thank you

Hugo01 avatar Oct 05 '22 23:10 Hugo01

Released on latest channel

npm install vue-flatpickr-component@^9.0.8

ankurk91 avatar Oct 06 '22 05:10 ankurk91