should I use 'this' keyword in getters ? #703
Answered
by
posva
Chandler-Zhu
asked this question in
Help and Questions
-
I just came across pinia a few days ago, and I am still learning the basics. In the official docs they don't use |
Beta Was this translation helpful? Give feedback.
Answered by
posva
Oct 6, 2021
Replies: 1 comment
-
When you use this in a getter you need to explicitly type the return type of it. |
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
When you use this in a getter you need to explicitly type the return type of it.