greenpress/vuex-composition-helpers

mapState returns type any for the computed state

kpguru20001 opened this issue · 1 comments

using mapState returns the following:
Screenshot 2022-01-27 at 9 47 58 AM

what is the right way of defining mapState or any other map in Typescript

This library handles composition API usage, through "useState" and the setup function, and it doesn't seem that you do that, or even use this library.

The "mapState" is a method under "vuex" itself.