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

Typescript #3

Open
giraffekey opened this issue May 14, 2022 · 1 comment
Open

Typescript #3

giraffekey opened this issue May 14, 2022 · 1 comment

Comments

@giraffekey
Copy link

This library needs Typescript support to avoid this error:

Could not find a declaration file for module 'vue-blockies'. '~/Project/node_modules/vue-blockies/dist/vue-blockies.umd.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/vue-blockies` if it exists or add a new declaration (.d.ts) file containing `declare module 'vue-blockies';`
@HerrBertling
Copy link
Owner

Oh, yes. I‘ll have a look, this should help: https://dev.to/josip2312/build-a-typescript-component-library-with-vite-58dh

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

No branches or pull requests

2 participants