UNPKG

vuex-smart-module

Version:

Type safe Vuex module with powerful module features

5 lines (4 loc) 370 B
import { Store, ModuleOptions } from 'vuex'; import { Module } from './module'; export declare function registerModule(store: Store<any>, path: string | string[], namespace: string | null, module: Module<any, any, any, any, any>, options?: ModuleOptions): void; export declare function unregisterModule(store: Store<any>, module: Module<any, any, any, any, any>): void;