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

Svelte #8512 PR Compatability #107

Closed
mehallhm opened this issue Jun 24, 2023 · 1 comment · Fixed by #109
Closed

Svelte #8512 PR Compatability #107

mehallhm opened this issue Jun 24, 2023 · 1 comment · Fixed by #109

Comments

@mehallhm
Copy link

sveltejs/svelte#8512

With SvelteComponentTyped being depreciated, the types must instead use SvelteComponents

@TrungRueta
Copy link

Hi everyone,
We should upgrade this PR asap. Svelte4 out release few weeks

metonym added a commit that referenced this issue Jul 19, 2023
Closes #107 

Generated TypeScript definitions now support Svelte 4. Changes include using `SvelteHTMLElements` over `svelte.JSX`, defaulting empty events to `Record<string, any>` instead of `{}`, and removing the unnecessary triple-slash directive.

The minimum Svelte version needed by the TypeScript definitions is now 3.55.
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

Successfully merging a pull request may close this issue.

2 participants