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

Using Svelte 5 snippets produces TypeScript errors #224

Open
6 tasks done
ilyakamens opened this issue Nov 15, 2024 · 0 comments
Open
6 tasks done

Using Svelte 5 snippets produces TypeScript errors #224

ilyakamens opened this issue Nov 15, 2024 · 0 comments
Labels
Svelte Issue with Tailwind Mobile Svelte

Comments

@ilyakamens
Copy link
Contributor

ilyakamens commented Nov 15, 2024

Check that this is really a bug

  • I confirm

Reproduction link

Any test will demonstrate it.

Bug description

Using Svelte 5 snippets produces TypeScript errors:

image

Also, the snippets themselves don't actually work. I assume this is because the underlying components are still using Svelte 4 slots. I'm happy to update the components, but I'd need some guidance on updating the exported types.

Expected Behavior

There should be no TS errors when using Svelte 5 snippets.

Actual Behavior

No response

Konsta UI version

4.0.1

Platform/Target and Browser Versions

iOS and Android

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • Make sure this is a Konsta UI issue and not a framework-specific issue

Would you like to open a PR for this bug?

  • I'm willing to open a PR
@ilyakamens ilyakamens added the Svelte Issue with Tailwind Mobile Svelte label Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Svelte Issue with Tailwind Mobile Svelte
Projects
None yet
Development

No branches or pull requests

1 participant