Typing loss on nested slot definitions #12099
Unanswered
rMonell
asked this question in
Help/Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
While trying to update Vue to its latest version (
3.5.10
actually), we noticed some rather strange errors.It seems that declaring a slot in a scoped slot, whose name uses the value exposed by this same slot, causes typing problems.
Example (I've deliberately simplified the components to keep only the source of the bug) :
However, I noticed that I couldn't reproduce this problem in a similar sandbox (https://codesandbox.io/p/devbox/cvwccj?file=%2Fsrc%2Fcomponents%2FThreeColumnsLayout.vue%3A17%2C1).
Has anyone encountered a similar problem? Or could you clarify whether it's a Vue issue, or another package?
In case it helps, here is a copy of my
package.json
:Thanks in advance !
Beta Was this translation helpful? Give feedback.
All reactions