Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typescript error TS7016: Could not find a declaration file for module 'v-money3'. #84

Merged
merged 1 commit into from
Jan 27, 2024

Conversation

christhofer
Copy link
Contributor

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.

2023-08-04-0830-Code_FKNtUtCjIR

I applied the solution provided by cmdruid here.

When I applied this fix on node_modules/v-money3/package.json and re-run npm run type-check, the error is gone.

@WiRight
Copy link

WiRight commented Dec 7, 2023

any update?

@jonathanpmartins jonathanpmartins merged commit 1f5399e into jonathanpmartins:main Jan 27, 2024
@jonathanpmartins
Copy link
Owner

Sorry for the delay, I took a sabatical! This was released on 3.24.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants