peshanghiwa / vue-awesome-paginate

The Awesome Vue.js 3 Pagination Library
MIT License
158 stars 20 forks source link

fix ts error (could not find a declaration file...) when using in TS project #19

Closed hedint closed 6 months ago

hedint commented 8 months ago

error TS7016: Could not find a declaration file for module 'vue-awesome-paginate'. '/path/node_modules/vue-awesome-paginate/dist/index.js' implicitly has an 'any' type. There are types at '/path/node_modules/vue-awesome-paginate/dist/VueAwesomePaginatePlugin.d.ts', but this result could not be resolved when respecting package.json "exports". The 'vue-awesome-paginate' library may need to update its package.json or typings.

fix #18

Nicolas-Nmedia commented 7 months ago

Thanks for the fix, helped get through my project!