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 support #1

Closed
filippolcr opened this issue Mar 18, 2021 · 0 comments · Fixed by #2
Closed

Typescript support #1

filippolcr opened this issue Mar 18, 2021 · 0 comments · Fixed by #2

Comments

@filippolcr
Copy link

Working with Nuxt 2.15.2 with Typescript.

import VueScreenSize from 'vue-screen-size'

end with

Could not find a declaration file for module 'vue-screen-size'. '…/node_modules/vue-screen-size/dist/vue-screen-size.umd.js' implicitly has an 'any' type. Try npm i --save-dev @types/vue-screen-sizeif it exists or add a new declaration (.d.ts) file containingdeclare module 'vue-screen-size';Vetur(7016)

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

Successfully merging a pull request may close this issue.

1 participant