Types of generic parameters in components defined with defineComponent
are always unknown
#3745
Labels
bug
Something isn't working
good reproduction ✨
This issue provides a good reproduction, we will be able to investigate it first
Playground reproduction
I have defined the same component using
<script setup>
anddefineComponent
:When using them,
CompSetup
automatically infers the types of arguments, howeverCompDefine
does not:The text was updated successfully, but these errors were encountered: