Oli8 / spaper

PaperCSS components for Svelte

Home Page:https://oli8.github.io/spaper/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Form Component missing types

KevsRepos opened this issue · comments

[Issue]
The Form.svelte component is missing types, see Image:

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.

Fixed in v0.7.6