Typescript calls between getters #2149
-
Hi, I have a store and I want to call getter inside an other getter, like that: The problem is that if I use Other example Any idea? |
Beta Was this translation helpful? Give feedback.
Answered by
posva
Apr 19, 2023
Replies: 1 comment 3 replies
-
Add the return type: https://pinia.vuejs.org/core-concepts/getters.html#getters |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
posva
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add the return type: https://pinia.vuejs.org/core-concepts/getters.html#getters