@vuex-orm/core
Version:
The Vuex plugin to enable Object-Relational Mapping access to the Vuex Store.
12 lines (11 loc) • 391 B
TypeScript
import * as Vuex from 'vuex';
import RootState from './RootState';
interface VuexModule extends Vuex.Module<RootState, any> {
namespaced: boolean;
state: () => RootState;
getters: Vuex.GetterTree<RootState, any>;
actions: Vuex.ActionTree<RootState, any>;
mutations: Vuex.MutationTree<RootState>;
modules: Vuex.ModuleTree<any>;
}
export default VuexModule;