Using component with $props type breaks all typings.
Version
3.2.22
Reproduction link
Steps to reproduce
Use a component which is made with $props
type for example RouterView
or Teleport
, add it to components
section you will have no type support.
What is expected?
Type support is expected.
What is actually happening?
Type support is not working.
@yuwu9145 What about custom components that use
$props
?
based on my testing, custom component type still works. I also think ultimately it should be user's responsibility of making sure their custom component type serve as legitimate Component
@kadiryazici Do you have any sample code of using custom component that can replicate this issue?
@yuwu9145 for example components that I created. https://github.com/teamseodo/simplebar-vue3/
@yuwu9145 it might be because of different version. Mine was ^3.2.4
but it installed 3.2.19
. I will use updated package.