Root module store type definition doesnt work with getters, actions, mutations
namnm opened this issue · comments
Hi, here is the code copied from README. I have an issue that it says counter
does not exist on getters
, actions
or mutations
. Only state
works though. The code added on a fresh vue2 app: sinai 0.2.6, typescript 3.9.3
If remove root then use const store = createStore(counter)
then it works correctly, but afterward there's no point of combined root for complex use case.
It works now.