UNPKG

@datorama/akita

Version:

State Management Tailored-Made for JS Applications

17 lines (16 loc) 433 B
export declare type StoreConfigOptions = { name: string; resettable?: boolean; cache?: { ttl: number; }; deepFreezeFn?: (o: any) => any; idKey?: string; }; export declare type UpdatableStoreConfigOptions = { cache?: { ttl: number; }; }; export declare const configKey = "akitaConfig"; export declare function StoreConfig(metadata: StoreConfigOptions): (constructor: Function) => void;