mercs600 / vue2-perfect-scrollbar

Vue.js wrapper for perfect scrollbar
https://mercs600.github.io/vue2-perfect-scrollbar/
MIT License
275 stars 43 forks source link

Could not find a declaration file for module 'vue2-perfect-scrollbar' #14

Closed naime-hossain closed 4 years ago

naime-hossain commented 5 years ago

module "e:/javascriptCoding/02.vue/vue/node_modules/vue2-perfect-scrollbar/dist/vue2-perfect-scrollbar.cjs" Could not find a declaration file for module 'vue2-perfect-scrollbar'. 'e:/javascriptCoding/vue/node_modules/vue2-perfect-scrollbar/dist/vue2-perfect-scrollbar.cjs.js' implicitly has an 'any' type. Try npm install @types/vue2-perfect-scrollbar if it exists or add a new declaration (.d.ts) file containing declare module 'vue2-perfect-scrollbar';

darthf1 commented 5 years ago

This means there are no typescript definitions available. See #7

mercs600 commented 4 years ago

@naime-hossain @darthf1 @florianrusch @schwarzdavid I added simple ts definitions to avoid these warnings.