greenpress / vuex-composition-helpers

A util package to use Vuex with Composition API easily.

Home Page:https://www.npmjs.com/package/vuex-composition-helpers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Possible to create typed mapping for namespaced modules?

Juxsta opened this issue · comments

I'm looking to see if there is a way to use typed mappings with namespaced modules.
It seems that the methods on createNameSpacedHelpers do not take a type argument, although they do when compared to importing directly from the library.
Is this intended or am I missing something?

The types can be passed at the usage of the createNamespacedHelpers itself.

Ahhh, I missed that. Perhaps that should be in the documentation?

Anyway, this solved my problem.

Cheers!

Great!

if you are willing to contribute to the docs, It'll be great :)