Skip to content

Conversation

@posva
Copy link
Member

@posva posva commented Mar 25, 2021

I found that toRefs() was unable to infer types from pinia (vuejs/pinia#406) but it works on Vue 3 so I adapted the type to the one existing in Vue 3: https://github.com/vuejs/vue-next/blob/master/packages/reactivity/src/ref.ts#L149 and it fixes the issue on pinia

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.

4 participants