Open Stoom opened 4 years ago
Issue-Label Bot is automatically applying the label feature_request
to this issue, with a confidence of 0.92. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
Hello,
I've recently started to use vue-hooks for vuex. I've noticed that when creating a reactive state variable that expanding out useGetters returns an untyped dictionary. This causes typing issues in TS if you also have regular values as well. It can be overcome by first casting to unknown and then your type. I've noticed this also applies to the other vuex hooks. Would it be possible to support generics on the hooks to reduce the boilerplate?