Closed Grawl closed 3 years ago
Thanks for noticing that! I've added TRoot
as third parameter to the VuexGetter
. It should not be a breaking change as it only adds optional parameter, however the last parameter - TGetters
- is now 4th instead of 3rd argument. I don't think that this is a big deal because this parameter is created only to create an alias to use later in type definition and is not intended to be manually overwritten.
VuexActionContext
haverootState
androotGetters
typings:https://github.com/kadet1090/vuex-typings/blob/e8301789f51fb2caa493d1c27decd11f9999421c/types/actions.ts#L37
https://github.com/kadet1090/vuex-typings/blob/e8301789f51fb2caa493d1c27decd11f9999421c/types/actions.ts#L38
but in
VuexGetter
parameters there is only module getters typingshttps://github.com/kadet1090/vuex-typings/blob/e8301789f51fb2caa493d1c27decd11f9999421c/types/getters.ts#L8
regarding to Vuex API, there is 4 arguments for any getter:
state, getters, rootState, rootGetters
https://vuex.vuejs.org/api/#getters