UNPKG

vuex-local

Version:

Local state management within Vuex

6 lines (5 loc) 392 B
import { Store } from 'vuex'; import { Dictionary, LocalModule } from './declarations'; export declare function registerLocalModule(store: Store<any>, modulePath: string[], module: LocalModule): void; export declare function unregisterLocalModule(store: Store<any>, modulePath: string[]): void; export declare function mapLocalKeys(obj: Dictionary<any>, moduleName: string): Dictionary<any>;