In Option Stores, If getters function receive state argument, then can't use this to find other getters #2133
-
Reproductionnone Steps to reproduce the bugtypescript version: 4.8.4 Expected behaviorEven if state argument exists, we still have to find other getters; Actual behaviorcan't find other getters Additional informationNo response |
Beta Was this translation helpful? Give feedback.
Answered by
posva
Apr 10, 2023
Replies: 1 comment
-
You need to explicitly add the return type of |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
posva
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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