UNPKG

@nimel/directorr

Version:
8 lines (7 loc) 627 B
import { ActionType, CreateDecoratorValueTypedEffect, DecoratorValueTypedWithType, AddToPayload } from './types'; import addInitFields from './initFields'; export declare const MODULE_NAME = "effect"; export declare function initializer(initObject: any, value: any, property: string, [actionType]: [string], addFields?: typeof addInitFields): any; export declare function addTypeToDecorator(decorator: DecoratorValueTypedWithType, context: [string, AddToPayload]): DecoratorValueTypedWithType<any, (...args: any) => any, string>; export declare const effect: CreateDecoratorValueTypedEffect<ActionType>; export default effect;