Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got error using typescript #5

Open
saniales opened this issue May 9, 2019 · 2 comments
Open

Got error using typescript #5

saniales opened this issue May 9, 2019 · 2 comments

Comments

@saniales
Copy link

saniales commented May 9, 2019

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 ❤️

@northwalker
Copy link
Owner

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.

@saniales
Copy link
Author

Will do for sure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants