Description
Reproduction
I'm not sure if this is a bug or desired behavior, but it appears component names may not match other properties of that component.
Expected result
Either the child component should fail to render, or the compiler should throw no errors.
Actual result
The child component renders successfully, but typescript errors are thrown due to the naming collision.
Additional context
This appeared to work as expected prior to the release of 1.7 and 1.8.
For now it's easy to side-step by simply choosing a different name, but in large codebases, and specifically in large components, it adds a hurdle to migrating Vue 2 → 3 because the error messages can be difficult to diagnose. This problem will also start appearing without dependency upgrades in VSCode due to the extension updating automatically.