Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form Component missing types #48

Closed
KevsRepos opened this issue Apr 14, 2022 · 2 comments
Closed

Form Component missing types #48

KevsRepos opened this issue Apr 14, 2022 · 2 comments

Comments

@KevsRepos
Copy link

[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?

@Oli8
Copy link
Owner

Oli8 commented Apr 15, 2022

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.

@Oli8
Copy link
Owner

Oli8 commented May 14, 2022

Fixed in v0.7.6

@Oli8 Oli8 closed this as completed May 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants