Skip to content

Using Svelte 5 snippets produces TypeScript errors #224

@ilyakamens

Description

@ilyakamens

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    SvelteIssue with Tailwind Mobile Svelte

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions