vue-hotel-datepicker
vue-hotel-datepicker copied to clipboard
Got error using typescript
Hello and thanks for the amazing component.
When i try to import it in a Vue Typescript project, I encounter this error.
37:32 Could not find a declaration file for module '@northwalker/vue-hotel-datepicker'. '/your/project/root/node_modules/@northwalker/vue-hotel-datepicker/lib/vue-hotel-datepicker.umd.js' implicitly has an 'any' type.
Try `npm install @types/northwalker__vue-hotel-datepicker` if it exists or add a new declaration (.d.ts) file containing `declare module '@northwalker/vue-hotel-datepicker';
Can you please fix this?
Thanks again ❤️
Hello @saniales , Support for Typescript is not considered in short-term planning, and I have no typescript dev environment for testing, if you have any simple solution to support typescript, PR is welcome.
Will do for sure