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 derived store together with $derived rune throws TS error #2629

Closed
MathiasWP opened this issue Dec 12, 2024 · 1 comment
Closed

Using derived store together with $derived rune throws TS error #2629

MathiasWP opened this issue Dec 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@MathiasWP
Copy link

Describe the bug

Note: I'm not sure if this is the right repo to post this.

In my SvelteKit app i'm deriving something from the page store while also deriving a value from a rune.

In this component i get an error (see images below), but it seems like a completely valid thing to looking at this REPL: https://svelte.dev/playground/3c5aeb154a48436ebed50948786726f7?version=5.11.2

I'm not sure if this is coming from the language-server, or if it is something wrong with TypeScript.

Reproduction

image image image

Expected behaviour

An error should not be thrown

System Info

  • OS: macOS 15.1.1 (24B91)
  • IDE: VScode

Which package is the issue about?

svelte-language-server, svelte-check

Additional Information, eg. Screenshots

No response

@MathiasWP MathiasWP added the bug Something isn't working label Dec 12, 2024
@MathiasWP MathiasWP changed the title Using derived store together with $derived rune throws error Using derived store together with $derived rune throws TS error Dec 12, 2024
@dummdidumm
Copy link
Member

Closing as duplicate of #2605

@dummdidumm dummdidumm closed this as not planned Won't fix, can't repro, duplicate, stale Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants