Closed MyDataHouse closed 3 months ago
Hi @MyDataHouse do you think you could find some time to reproduce your issue in a minimal project? I'm working on some quite complex projects and can't reproduce your findings.
@davidmatter I have simplified the code https://github.com/MyDataHouse/example
Executing pnpm update
in your repo makes everything work flawlessly
Thank you very much. In my official project, I needed to uninstall the @vitejs/plugin-vue-jsx
dependency and then run pnpm update
again. Everything finally worked normally.
Vue - Official extension or vue-tsc version
2.0.28
VSCode version
1.92.0
Vue version
3.4.35
TypeScript version
5.5.4
System Info
Steps to reproduce
You can download and run
pnpm dev
, and it will automatically generate component configuration types. However, you will notice that it doesn't provide type hints. When I deletecomponents.d.ts
, it starts to show the built-in Vue component types.What is expected?
There are no proper component type hints.
What is actually happening?
I created an additional simple project configuration with only one tsconfig file, and the component type hints work correctly. However, in my case, where multiple tsconfig files are needed, the component type hints do not work. I have added the component type declaration files to tsconfig.web.json, but it still shows as
any
. I'm very confused.Link to minimal reproduction
https://github.com/MyDataHouse/dom
Any additional comments?
No response