Describe the bug
In Svelte 5, the ComponentType type requires an argument, whereas it was optional in Svelte 4.
Either it should be optional again, or the example in the docblock above should be corrected.
Reproduction
Svelte 4
Svelte 5
Logs
No response
System Info
Severity
annoyance