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

Import of vue-i18n fails on vue/tsconfig versions 0.4.0 #23

Closed
jaggarnaut opened this issue Aug 29, 2023 · 1 comment
Closed

Import of vue-i18n fails on vue/tsconfig versions 0.4.0 #23

jaggarnaut opened this issue Aug 29, 2023 · 1 comment

Comments

@jaggarnaut
Copy link

When i try to install vue-i18n@9 it says:

Could not find a declaration file for module 'vue-i18n'. '/home/user/repo/node_modules/vue-i18n/dist/vue-i18n.esm-bundler.js' implicitly has an 'any' type.
There are types at '/home/user/repo/node_modules/vue-i18n/dist/vue-i18n.d.ts', but this result could not be resolved when respecting package.json "exports". The 'vue-i18n' library may need to update its package.json or typings.ts(7016)

Works fine with 0.2.0. Fails with every version greater than that.

@haoqunjiang
Copy link
Member

I believe this has been fixed in vue-i18n 9.3.
If you still encounter this issue after updating vue-i18n, please open a new issue with a reproduction link. Thanks!.

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

No branches or pull requests

2 participants