vuex-local
Version:
Local state management within Vuex
9 lines (8 loc) • 562 B
TypeScript
import { Dictionary } from './declarations';
export declare const modulePrefix = "local";
export declare function localKey(key: string, moduleName: string): string;
export declare function mapKeys<T>(obj: Dictionary<T>, f: (value: T, key: string) => string): Dictionary<T>;
export declare function mapValues<T, U>(obj: Dictionary<T>, f: (value: T, key: string) => U): Dictionary<U>;
export declare function isObject(value: any): boolean;
export declare function warn(message: string): void;
export declare function assert(condition: any, message: string): void;