Incorrect type inference when you define slot element in v-for loop #3787
Labels
bug
Something isn't working
good reproduction ✨
This issue provides a good reproduction, we will be able to investigate it first
I'm trying to implement a table with dynamic slot names that are based on the column names, but I am faced with an issue with types in the
v-for
loop inside the template. For some reason the result type of the value is inferred asnever
, but if we do the same in the typescript we get a different type. Looks like it's an issue in the template type inferring.Link to repro
The text was updated successfully, but these errors were encountered: