No types to TypeScript
spokospace opened this issue · comments
When I try to import it, I have error Cannot resolve definitions for module 'vue-product-zoomer'
@spokospace if you just want to supress the TS warning, you can declare a fake module in a d.ts
file
declare module 'vue-product-zoomer'
It would be nice to have types supported out-of-the-box.
Getting this error in VS Code,
Could not find a declaration file for module 'vue-product-zoomer'. '/path/node_modules/vue-product-zoomer/dist/assets/js/app.bundle.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/vue-product-zoomer` if it exists or add a new declaration (.d.ts) file containing `declare module 'vue-product-zoomer';`ts(7016)