@nimel/directorr
Version:
Like Redux but using decorators
7 lines (6 loc) • 500 B
TypeScript
import { SomeObject } from './types';
export declare function dispatchEffectInStore(store: SomeObject, actionType: string, payload?: any): void;
export declare function dispatchInitEffectInStore(store: SomeObject): void;
export declare function dispatchDestroyEffectInStore(store: SomeObject): void;
export declare function dispatchReloadEffectInStore(store: SomeObject, payload?: any): void;
export declare function dispatchActionInStore(store: SomeObject, actionType: string, payload?: any): void;