I have updated the description
Description
When using the JavaScript API to instantiate a Svelte component, I would find it useful to get an error if I forget to pass props.

In this case the Component has a required prop called title that expects a string.
I can completely omit the props attribute and won't get an error.
Proposed solution
Type the params object of the ComponentConstructorOptions to get errors when instantiating a component incorrectly.
Alternatives
No response
Additional Information, eg. Screenshots
No response