Skip to content

V4: store values aren't typed for derived stores #8699

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

Closed
CaptainCodeman opened this issue Jun 5, 2023 · 2 comments · Fixed by #8700
Closed

V4: store values aren't typed for derived stores #8699

CaptainCodeman opened this issue Jun 5, 2023 · 2 comments · Fixed by #8700

Comments

@CaptainCodeman
Copy link

CaptainCodeman commented Jun 5, 2023

Describe the bug

The value in a derived store is always any whether the dependent store(s) are implicitly or explicitly typed

derived(other, ($other, set) => 
//               ^ always "any"

Reproduction

Logs

No response

System Info

-

Severity

annoyance

@gtm-nayan gtm-nayan linked a pull request Jun 6, 2023 that will close this issue
5 tasks
@benmccann benmccann added this to the 4.x milestone Jun 6, 2023
@gtm-nayan
Copy link
Contributor

Fixed in 4.0.0-next.1

@CaptainCodeman
Copy link
Author

CaptainCodeman commented May 1, 2024

This seems to have re-appeared with Svelte 5 (5.0.0-next.120), but only when running svelte-check

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.

3 participants