I posted to StackOverflow looking for where I could find the Vue types for ComponentDefinition and/or ComponentConstructor. There, I was told that those are pseudo-types used only in the documentation. Specifically, they appear only for the type accepted by a component's :is prop.
PhpStorm's Web Types seem to also believe these are actual types. When I properly type my argument to :is as a Component, the IDE complains Type Component is not assignable to type string | ComponentDefinition.
I posted to StackOverflow looking for where I could find the Vue types for
ComponentDefinition
and/orComponentConstructor
. There, I was told that those are pseudo-types used only in the documentation. Specifically, they appear only for the type accepted by acomponent
's:is
prop.PhpStorm's Web Types seem to also believe these are actual types. When I properly type my argument to
:is
as aComponent
, the IDE complainsType Component is not assignable to type string | ComponentDefinition
.