-
-
Notifications
You must be signed in to change notification settings - Fork 382
Open
Labels
Status: Review NeededRequest for review commentsRequest for review comments
Description
Reporting a bug?
node_modules/vue-i18n/dist/vue-i18n.d.ts:10:15 - error TS2724: '"vue"' has no exported member named 'GenericComponentInstance'. Did you mean 'ComponentInstance'?
10 import type { GenericComponentInstance } from 'vue';
Expected behavior
latest stable vue-i18n (currently 11.2.2) only uses types from latest stable vue (currently 3.5.25)
Reproduction
npm run build with tsconfig: "skipLibCheck": false
https://stackblitz.com/edit/vitejs-vite-iphr9ytw?file=README.md&view=editor
System Info
System:
OS: Linux 5.0 undefined
CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 0 Bytes / 0 Bytes
Shell: 1.0 - /bin/jsh
Binaries:
Node: 20.19.1 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 10.8.2 - /usr/local/bin/npm
pnpm: 8.15.6 - /usr/local/bin/pnpm
npmPackages:
@intlify/devtools-types: 11.2.2 => 11.2.2
@vitejs/plugin-vue: 6.0.1 => 6.0.1
vite: 7.1.10 => 7.1.10
vue: 3.5.25 => 3.5.25
vue-i18n: 11.2.2 => 11.2.2
vue-tsc: 3.1.1 => 3.1.1Screenshot
No response
Additional context
You might as well consider this a documentation issue, if you think that "skipLibCheck" needs to be true.
Validations
- Read the Contributing Guidelines
- Read the Documentation
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussions
Metadata
Metadata
Assignees
Labels
Status: Review NeededRequest for review commentsRequest for review comments