fix(types): Register built-in components Teleport and Suspense should work
fix #5833 & #4950 (built-in components like Teleport do not work)
Cause is

which results in Teleport & Suspense are not legitimate Component type.
However, as per office doc (usage with built-in components for rendering dynamic components), <component :is="isGroup ? 'Teleport' : 'Suspense'"> ... </component> will require to register built-in components
Thanks but this wouldn't work for library custom components like RouterView or RouterLink in vue router. It would also be great to add a d-ts test to check for externally added components
This issue actually has nothing to do with $props, and as per my testing, both RouterView & RouterLink work, as they serve as legitimate Component type. The reason why Teleport breaks type Inference is because it has __isTeleport property which does not exist in Component, same to Suspense.
Edit: RouterView works in my place

I will add tests soon
d-ts test has been added, without changes in this pull request, it will fail
Deploy Preview for vue-sfc-playground ready!
| Name | Link |
|---|---|
| Latest commit | f9fc790952e37b027d45c954231d1675720f9ded |
| Latest deploy log | https://app.netlify.com/sites/vue-sfc-playground/deploys/626bda943a44460009c56288 |
| Deploy Preview | https://deploy-preview-4955--vue-sfc-playground.netlify.app/ |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
Deploy Preview for vuejs-coverage ready!
| Name | Link |
|---|---|
| Latest commit | f9fc790952e37b027d45c954231d1675720f9ded |
| Latest deploy log | https://app.netlify.com/sites/vuejs-coverage/deploys/626bda941c79ad00082920e7 |
| Deploy Preview | https://deploy-preview-4955--vuejs-coverage.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
Deploy Preview for vue-next-template-explorer ready!
| Name | Link |
|---|---|
| Latest commit | f9fc790952e37b027d45c954231d1675720f9ded |
| Latest deploy log | https://app.netlify.com/sites/vue-next-template-explorer/deploys/626bda94c00a94000955aeae |
| Deploy Preview | https://deploy-preview-4955--vue-next-template-explorer.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
Could you please resolve the conflicts?