Open
Description
Vue - Official extension or vue-tsc version
2.2.10
VSCode version
1.100.3
Vue version
3.5.16
TypeScript version
5.8.3
System Info
System:
OS: Linux 6.6 Alpine Linux
CPU: (24) x64 AMD Ryzen AI 9 HX 370 w/ Radeon 890M
Memory: 23.17 GB / 27.22 GB
Container: Yes
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.16.0 - /mnt/wslg/runtime-dir/fnm_multishells/27487_1749659827396/bin/node
npm: 10.9.2 - /mnt/wslg/runtime-dir/fnm_multishells/27487_1749659827396/bin/npm
pnpm: 10.12.1 - /mnt/wslg/runtime-dir/fnm_multishells/27487_1749659827396/bin/pnpm
bun: 1.2.10 - ~/.bun/bin/bun
package.json dependencies
Steps to reproduce
From the reproduction repo link, just install deps and run nuxt typecheck
or vue-tsc --noEmit
in apps/frontend
.
What is expected?
Just like the IDE, which reports no problem and infer the types just fine, no errors are encountered.
What is actually happening?
Type error is encountered because the type checker cannot infer types from deeply referenced package in the monorepo (backend-convex
=> backend
=> frontend
)
Line and log:
app/components/ConvexIntegrationTest.vue:41:43 - error TS7006: Parameter 't' implicitly has an 'any' type.
41 .then(r => toast({ description: r.map(t => t.text).join('\n') }))
~
Found 1 error in app/components/ConvexIntegrationTest.vue:41
Link to minimal reproduction
https://github.com/NamesMT/starter-monorepo/tree/b47bb423d0228fec440fb7923864a90cb6c60e7f
Any additional comments?
Related #3896