@datorama/akita
Version:
A Reactive State Management Tailored-Made for JS Applications
12 lines (11 loc) • 395 B
TypeScript
export interface AkitaConfig {
/**
* Whether to allowed the reset() stores functionality
*/
resettable?: boolean;
ttl?: number;
producerFn?: (state: any, fn: any) => any;
}
export declare function akitaConfig(config: AkitaConfig): void;
export declare function getAkitaConfig(): AkitaConfig;
export declare function getGlobalProducerFn(): (state: any, fn: any) => any;