Form Component missing types
KevsRepos opened this issue · comments
[Issue]
The Form.svelte
component is missing types, see Image:
I was able to fix that locally by adding extends SvelteComponentTyped<FormProps, FormEvents, FormSlots>
to export default class Form
inside the npm module in the Form.svelte.dt.ts
file. Though these files seem to be auto generated as they dont appear in the actual source code. How to fix this?
Seems like the d.ts
is not properly generated when the component has no script
tag (svelte-kit bug?)
I'll update the Form.svelte.dt.ts
in the next release, thanks for the report and the troubleshooting.