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

fix: typing get svelte/store #5483

Merged
merged 1 commit into from
Oct 1, 2020

Conversation

bfanger
Copy link
Contributor

@bfanger bfanger commented Oct 1, 2020

The new typing for get_store_value introduced in 3.29.0 doesn't work and generates multiple Object is of type 'unknown'. errors in our codebase.

See the .D.TS tab in playground to see that typescript thinks the return value is unknown.

Demo of the fix: playground

@Conduitry Conduitry merged commit 3fa15b9 into sveltejs:master Oct 1, 2020
@Conduitry
Copy link
Member

This has been released in 3.29.3, thanks!

taylorzane pushed a commit to taylorzane/svelte that referenced this pull request Dec 17, 2020
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 this pull request may close these issues.

3 participants