Skip to content

In Option Stores, If getters function receive state argument, then can't use this to find other getters #2133

Closed Answered by posva
wenye123 asked this question in Help and Questions
Discussion options

You must be logged in to vote

You need to explicitly add the return type of info2 as noted in docs: https://pinia.vuejs.org/core-concepts/getters.html#accessing-other-getters

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by posva
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2131 on April 10, 2023 14:17.