You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I upgrade from vue-debounce to v4.0.0 to v4.0.1 and the following error was raised by typescript compiler:
Could not find a declaration file for module 'vue-debounce'. '/myproject/node_modules/vue-debounce/dist/vue-debounce.min.mjs' implicitly has an 'any' type.
There are types at '/myproject/node_modules/vue-debounce/types/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'vue-debounce' library may need to update its package.json or typings.
8 import {debounce} from 'vue-debounce';
It seems that typing file is correct, however it doesn't apply to "vue-debounce.min.mjs".
A possible solution it may be to include "index.d.mts".
Version of Vue
3.4.15
Version of Typescript
Vue-tsc 1.8.27
Version of Vite
4.5.0
The text was updated successfully, but these errors were encountered:
Describe the bug
I upgrade from vue-debounce to v4.0.0 to v4.0.1 and the following error was raised by typescript compiler:
It seems that typing file is correct, however it doesn't apply to "vue-debounce.min.mjs".
A possible solution it may be to include "index.d.mts".
Version of Vue
3.4.15
Version of Typescript
Vue-tsc 1.8.27
Version of Vite
4.5.0
The text was updated successfully, but these errors were encountered: