I got this error when installing v-money3 on a new Vue project created with npm create vue@latest.
error TS7016: Could not find a declaration file for module 'v-money3'. '{project_path}/node_modules/v-money3/dist/v-money3.mjs' implicitly has an 'any' type.
There are types at '{project_path}/node_modules/v-money3/dist/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'v-money3' library may need to update its package.json or typings.
I got this error when installing v-money3 on a new Vue project created with
npm create vue@latest
.I applied the solution provided by cmdruid here.
When I applied this fix on
node_modules/v-money3/package.json
and re-runnpm run type-check
, the error is gone.