1.4.0 generic component prop passed as slot item not typed correctly #2639
Labels
bug
Something isn't working
good reproduction ✨
This issue provides a good reproduction, we will be able to investigate it first
After upgrading to v1.4.0 from v1.2.0 I get a typescript error on props typed as generic and then binded to slot.
Basically I have a generic component as follow
and then I have a page which is using this generic component as follow:
Before upgrading to v1.4.0 from 1.2.0 everything was fine and the item binded from the genericComponent was typed correctly as ShowCaseItem. Now it is type as an object {index: number}, which is the one that I extend from. I have removed the vuecompilerOptions "experimentalRfc436": true, since it is signaled as depecrated by Volar. Nevertheless with or without that options is giving me the same error.
Is this functionality still available in 1.4.0 ? Am I doing something wrong ?
The text was updated successfully, but these errors were encountered: