You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run pnpm i followed by pnpm build to see the type error pop up after trying to build the components project.
What is expected?
It should type check and build without the type error: Type 'HostElement' does not satisfy the constraint 'RendererElement'
This did not happen with Typescript 4.7, but it's doing it with 4.8. Therefore it's hard to see if it's a Vue error or a typescript bug, but I found no reports of this on their repo.
What is actually happening?
The error Type 'HostElement' does not satisfy the constraint 'RendererElement' appears during the typecheck/build step of the components project. Changing typescript version to 4.7 (instead of 4.8) removes the error and the build passes.
Vue version
3.2.36
Link to minimal reproduction
https://github.com/Ragura/vue3-pnpm-workspace
Steps to reproduce
Run
pnpm i
followed bypnpm build
to see the type error pop up after trying to build the components project.What is expected?
It should type check and build without the type error:
Type 'HostElement' does not satisfy the constraint 'RendererElement'
This did not happen with Typescript 4.7, but it's doing it with 4.8. Therefore it's hard to see if it's a Vue error or a typescript bug, but I found no reports of this on their repo.
What is actually happening?
The error
Type 'HostElement' does not satisfy the constraint 'RendererElement'
appears during the typecheck/build step of the components project. Changing typescript version to 4.7 (instead of 4.8) removes the error and the build passes.System Info
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: