We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
get_current_component
@svelteuidev/core
Type definitions for svelte/internal were removed for svelte 4: https://svelte.dev/docs/v4-migration-guide#other-breaking-changes, sveltejs/svelte#9189
svelte/internal
We are using get_current_component, which is an internal method. We should find another solution for this.
Firefox
Yes
No response
The text was updated successfully, but these errors were encountered:
Does it mean that SvelteUI is not usable with Svelte 4 + TypeScript?
Sorry, something went wrong.
It's usable, the internal methods just don't have types, so it gives out TS errors inside the svelteui codebase.
Does it mean it willl throw TS errors when I run the type checker on my project?
No, I don't think so
There's also another change in svelte/internal - beforeUpdate was moved to svelte, should also fix for that:
beforeUpdate
svelte
- import { beforeUpdate } from 'svelte/internal'; + import { beforeUpdate } from 'svelte';
No branches or pull requests
What package has an issue
@svelteuidev/core
A clear and concise description of what the bug is
Type definitions for
svelte/internal
were removed for svelte 4: https://svelte.dev/docs/v4-migration-guide#other-breaking-changes, sveltejs/svelte#9189We are using
get_current_component
, which is an internal method. We should find another solution for this.In which browser(s) did the problem occur?
Firefox
Steps To Reproduce
get_current_component
in the codebaseDo you know how to fix the issue
Yes
Are you willing to participate in fixing this issue and create a pull request with the fix
Yes
Relevant Assets
No response
The text was updated successfully, but these errors were encountered: