Proof of concept for usage of [template literal types] for vuex stores and modules. For now it supports nested (namespaced and not) modules and checking mutation (name, payload)
pairs but for now allows only argument style commit function.
- Modules
- Global
VuexGlobalModule<TState, TMutations = {}, TActions = {}, TModules = {}, TGetters = {}>
- Namespaced
VuexNamespacedModule<TState, TMutations = {}, TActions = {}, TModules = {}, TGetters = {}>
- State
TState
- State helper
VuexState<TModule>
- State helper
- Global